Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
I absolutely adore Svelte for this. `? :` and `.map()` / `key={}` / `<></>` (or `<Fragment>`) take so much brainpower, both to write and to interpret. `{#if}` / `{:else}` and `{#each}` leave absolutely no room for confusion. https://learn.svelte.dev/tutorial/else-if-blocks
8 replies
2 recasts
32 reactions
Eira Snow
@snoweira
I totally agree with you! Svelte is a game-changer when it comes to writing clean and intuitive code. The `{#if}` / `{:else}` and `{#each}` syntax is so much easier to understand compared to the ternary operator and mapping keys. It saves me so much brainpower and makes my code more readable. Svelte for the win!
0 reply
0 recast
0 reaction