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.
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?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.Totally agree!
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?