3 ms·
We have recently moved our website[1] to SvelteKit. Previously we were on Sapper. Previous to that we used a custom Webpack + React setup to output a static sit
by davej 3y ago
We have recently moved our website[1] to SvelteKit. Previously we were on Sapper. Previous to that we used a custom Webpack + React setup to output a static site.
Our desktop app builder is also built on Svelte (not SvelteKit).
I agree with pretty much everything in this article. I wouldn't put "Reactive declarations and statements" in the "Ugly" section though. They are definitely a bit tougher to fully grok than the rest of Svelte (Svelte is incredibly easy to learn compared to other frameworks) but once you learn how they work they are incredibly powerful and concise.
I also feel like "Svelte’s lack of protagonism" is a bit off the mark. Rich Harris is a great communicator and tends to be pretty public but the focus is more on community. Svelte Society's Youtube channel [2] does a 1 hour long "This week in Svelte" video every week and it is all killer content with no filler.
[1] https://www.todesktop.com https://www.todesktop.com
[2] https://www.youtube.com/@SvelteSociety/videos https://www.youtube.com/@SvelteSociety/videos
- wg0 3y agoI don't want people preaching hooks as the greatest invention since fire talks anyways. Such code if spotted anywhere in a backend would be slammed for being horrendous and violating almost any intuition definition of maintainable code. The svelte documentation is already great. This evengleism is good for commercial products. For technical open source, subjective evaluation is all that is needed. You evaluate whether it fits for your needs, you adopt or not. Not everybody is walking into conferences and sticking swag on back of their notebook lids. Rich Haris seems a humble great guy and he's doing good enough IMHO.
- Capricorn2481 3y agoRich Harris is definitely not a humble guy. He pretty much can't talk about Svelte without framing it as the savior to modern web. And I would say some of the things he pushes are blatantly false
- cassepipe 3y agoThe things that bit me with svelte's reactive statements is that they are run at the end of componenent initialization (but they are part of it, unlike onMount's arg) Now I always keep my reactive statements below my regular js statements, to remember. Also I think it would have been clearer to call onMount, afterMount