3 ms·
Vue (and React) aren't compilers like Svelte. The real advantage of using a compiler is that more complicated state changes can be instrumented without hacky i
by kevmo314 6y ago
Vue (and React) aren't compilers like Svelte.
The real advantage of using a compiler is that more complicated state changes can be instrumented without hacky introspection, which is probably why Svelte feels cleaner.
The big tradeoff is that it forces the use of the Svelte compiler. Which doesn't sound all that bad until you want to use something like TypeScript and realize that it's maybe a bit odd that a framework now has a tight grip over what language/tooling is used.
It seems like Svelte just recently finished their TS support, but I tried Svelte and while I liked the concept, the overreaching felt like at that rate I'd rather use ReasonML or something because Svelte JS is technically not JS, just looks a lot like it.