The other day I wanted to learn Svelte. Even though the tutorials on the Svelte homepage are great, I found the MDN Svelte tutorial to be better: it explains the conceptual differences wrt other frontend frameworks well, it explains in detail how to enable Typescript and migrate your projects, and it has a dedicated section that describes different deployment options.
While of - of course - all of these infos can be found somewhere on the web as well, I very much appreciate such a well-written, holistic intro to a framework. I signed up for the MDN Plus 5 plan.
P.S.: If someone from the MDN team is reading this, maybe include a "sign up" link directly in the blog article from Hermina.
(unrelated to the main topic)
> The other day I wanted to learn Svelte...
Any highlight(s) regarding positive/negative experiences that you had with Svelte so far?
Asking because it's on my to-do list for my future frontend (bought 2 books about it, but pending to be read as I'm currently first trying to assimilate "Rust" to program the backends) and I ended up selecting Svelte as potential best candidate after having read the docs & having played with its tutorials => I therefore got a general "positive initial feeling" about it.
The last time I wrote a web-UI was many years ago with PHP & Codeigniter & some hand-written Javascript (from my POV that was alright, lightweight/simple/flexible/low-effort and performance was ok, I would/could do that again but maybe Svelte might be better for what I'd like to do now), so I'm not really up-to-date in this area - Svelte just sounds lightweight & flexible enough for me... . Cheers :)
> Any highlight(s) regarding positive/negative experiences that you had with Svelte so far?
Sveltekit was a bit of a pain to get running, but using svelte itself has been insanely nice. I got an entire internal website up and running with a bunch of cool functionality in ~3 days. The state management with Redux alone would have taken that long if I was using React.
Being able to just use regular HTML is also nice.
There are some gotchas, how it handles CSS is kinda weird, and docs beyond the basics are rough in places.
If it's a pretty simple case, you can use the built in `useReducer`[0]. Or if you want something that'll scale but that's much more lightweight than Redux, I'd recommend Zustand[1].
[0] https://reactjs.org/docs/hooks-reference.html#usereducer [1] https://github.com/pmndrs/zustand