Imba Changelog Episode #3 and #4

Two new Imba Changelog episodes fresh from the oven. Enjoy!

1 Like

Do we need to reserve the closing tag syntax?
If not we can use that for slots tags.
Would that be confusing?

tag app-layout
	def render
		<self/panel>
			<nav/nav>
				<img src="logo.png"> 
				<ul>
					<slot> # this could remain as catch all tag. This one for /head tag.
			<main/content>
				<h1> "welcome"
				<slot> # catch all for /content
			<slot> # catch all for /panel
			<footer/foot>
				<h1> "Footer Title"
				<slot> # catch all for /foot
tag app-root
	def render
		<self>
			<app-layout>
				</nav>
					<li> "home"
				</content>
					<p> "..."
				</foot>
					<address> "..."
tag app-root < app-panel
	def render
		</panel .customer-{@data-id}>
			</nav>
				<ul>
					<li> "home"
			</content>
				<p> "..."
			</foot>
				<address> "..."

@somebee
@scanf

scrimba

Interesting, not sure what I think about it yet. Will need to meditate on this.

Thanks.