|
|
|
|
|
by ryanjshaw
1099 days ago
|
|
I hadn't built a proper web app in nearly 10 years until recently. I did do some experiments with React/Redux a while back, and some Angular. While both made logical sense, I found RR quite confusing and Angular very heavyweight. I tried SvelteKit 2 weeks ago after working through learn.svelte.dev and it immediately appealed to me. Starting with one file in a route that holds JS, HTML and CSS was great. Breaking it up into components as I went along was natural. I think TailwindCSS helped here too, because I barely had to do any CSS work and could focus on JS and HTML. It took me a while to understand the value of stores and where to use them, but then I hit upon a use case (big complicated multiple nested tree of mutable data). After a few refactorings I had a very nice compact and easy to understand solution - nothing like what I experienced with RR and Angular. |
|
Svelte clicked after like 3 hours.
Also it's more "fun" than React ever was.