5 ms·
> In my experience, Svelte did a much better job and is closer to vanilla html/js I just looked at some Svelte examples and it's a mix of magic keywords (on, b
by kehrin 3y ago
> In my experience, Svelte did a much better job and is closer to vanilla html/js
I just looked at some Svelte examples and it's a mix of magic keywords (on, bind) with magic symbols (: | @) and new, completely unrelated syntax to both JS and HTML (#each, #if, :else). I guess it looks way more idiomatic if you have an IDE that highlights and lints it correctly. React with its few rules of hooks seems way closer to vanilla JS.