News for hackers. Stuff that matters.
Re:Svelte Is Unappealing by degif on Tuesday March 24, 2020 @04:13AM (#22672977)
You can write and run React/Preact based applications "as is" without using a transpiler like Babel (you just typically do to minify code and use more fancy javascript features). You can't run a Svelte based application without precompiling it using the Svelte compiler.
Re:Svelte Is Unappealing by ajdegol on Tuesday March 24, 2020 @04:44AM (#22673112)
The essential feature of it is that it’s a compiler. Things in general get easier to debug over time as they get improved, the basic concept is actually a very powerful. I’m a fan of svelte for the small things I’ve tried it on; there’s always growing pains with learning curves.
Re:Svelte Is Unappealing by degif on Tuesday March 24, 2020 @06:05AM (#22673442)
Yeah, I do agree. That was not a critic of Svelte, just a comment about that there is a difference between compilation (Svelte) and transpilation (Babel). I do use Svelte in every day job myself and prefer it to React (which is also great) just because writing Svelte "feels" like what Javascript has intended to be.