36 supporters
Content of the week (10-16 April 2022)

Content of the week (10-16 April 2022)

Apr 14, 2022

svelte:element is out!

You can now create dynamically create different HTML elements within 1 line, rather than having to switch them via {#if} logic block.

Watch me talk about svelte:element here on YouTube:

Adding {@const} tag to {#if} block

{@const} tag has been out for a while, but it's limited to a few logic blocks.

Watch me live-coding working on the feature to add {@const} tag to {#if} block too:

Enjoy this post?

Buy lihautan a coffee

More from lihautan