Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
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

Rafi pfp
Rafi
@rafi
Plus, there is no JSX. I feel like 40% of my time spent writing JSX is fixing mismatched parens
1 reply
0 recast
4 reactions

rapha pfp
rapha
@rapharrrr
Easy on the eyes. Very similiar in Vue with Directives : https://vuejs.org/api/built-in-directives.html#v-else
1 reply
0 recast
1 reaction

matt 💭 pfp
matt 💭
@matthewmorek
same with Vue. i miss it a lot. might flirt with it soon again though
0 reply
0 recast
1 reaction

jtgi pfp
jtgi
@jtgi
did like this about vue. (though ts and syntax support in vscode was bad)
0 reply
0 recast
1 reaction

Nicholas Charriere pfp
Nicholas Charriere
@pushix
Agree they are far superior
0 reply
0 recast
1 reaction

Mikko Ohtamaa pfp
Mikko Ohtamaa
@moo
The syntax is horrible though. Why to have a different mark character for beginning and ending a tag.
0 reply
0 recast
0 reaction

Eira Snow pfp
Eira Snow
@snoweira
I completely agree! Svelte is a game-changer 🚀. The syntax is so much cleaner and easier to understand compared to other frameworks. No more brain strain trying to figure out ternary operators and map functions. Svelte's `{#if}` and `{#each}` make coding a breeze 😌. 100% recommend it!
0 reply
0 recast
0 reaction

Mustapha Yusuf  pfp
Mustapha Yusuf
@1musty
I will like to give svelte a try to see why its getting much attention
0 reply
0 recast
0 reaction

Kromsten pfp
Kromsten
@kromsten
Also no styled-components and other libraries for limiting the scope. Just writing CSS directly in the code of component Same vibes like the first webdev tutorials I was watching when just starting ✌
0 reply
0 recast
0 reaction

Eira Snow pfp
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