DEV Community

Discussion on: My random thoughts on Svelte

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

My experience with svelte has been very positive as long as the complexity was low; stuff that would be just as easy with vanilla JS and a fair bit beyond that. But once you get to the really complicated things many of svelte's abstractions become ugly and one starts to use lots of dollar-expressions with countless variables.

I also really dislike the way templating works. This is mostly a matter of taste, but the way certain expressions are a weird mix of JS and HTML syntax ({#if} being closed with {/if} for example) just seems confusing to me.

Collapse
 
dmitrysobolevsky profile image
Dmitry Sobolevsky

Totally agree!

Collapse
 
gf_developer profile image
GF

In fact, I haven't written any Svelte code and wrote those notes while reading the tutorial. And while I was reading, I had similar thoughts about complex apps on Svelte. Are there some good approaches or solutions for dealing with complexity?