Svelte 5 has been very nice to work with over the past few months. Yes, runes require you to think more carefully about lifecycles and updates. And you may end up writing a little more code initially than with svelte 4. But it serves you better in the long run with complex apps. I found a process for gradually turning a simple app into a more complex one that works for me. I iteratively move $state() runes out of .sv…
Do you know of any large OSS software built with Svelte? I'd like to see how it turns out in the long run, because I'm reticent of all frontend frameworks nowadays through what I perceive as gateways to uncontrollable accidental complexity and abstractions.
Svelte 5 Released
101–110 of 254 posts
Re: Svelte 5 Released
#102Earlier quoted context omitted.
My only problem with this is because now is more verbose, why I should use Svelte over Vue? Arguably a more stablish framework. No shadow dom and a better template directives? Maybe, not sure.
I don’t have a definite answer as I haven’t worked with Vue that much. Still, I like Svelte syntax a bit better (e.g. {#each x in xs} vs. v-for), and yeah, all the compile time reactivity stuff works out pretty well in terms of performance. The runes are still optional, I think, and you can still use the old syntax. Not sure if that will be true in Svelte 6 though!
Re: Svelte 5 Released
#103Re: Svelte 5 Released
#104Any recommendations for component libraries for Svelte?
DaisyUI and shadcn-svelte are the big two.
https://www.skeleton.dev/ and https://flowbite-svelte.com/ are another couple of popular ones.
There's a big list at https://www.sveltesociety.dev/packages?category=design-syste...
Re: Svelte 5 Released
#105Svelte 5 has been very nice to work with over the past few months. Yes, runes require you to think more carefully about lifecycles and updates. And you may end up writing a little more code initially than with svelte 4. But it serves you better in the long run with complex apps. I found a process for gradually turning a simple app into a more complex one that works for me. I iteratively move $state() runes out of .sv…
Do you know of any large OSS software built with Svelte? I'd like to see how it turns out in the long run, because I'm reticent of all frontend frameworks nowadays through what I perceive as gateways to uncontrollable accidental complexity and abstractions.
Re: Svelte 5 Released
#106I love Svelte and use it for all my personal projects and all company projects (except strictly static sites are still built with just 11ty but I hate it and want to move off it). But I'm going to wait a bit on v5 for the company, scanning all the issue headlines, it looks like there are a still a lot of unresolved edge cases: https://github.com/sveltejs/svelte/issues As for my latest personal project, upgrading righ…
Re: Svelte 5 Released
#107Exciting, I love Svelte! Does anybody have experience with both Vue and Svelte? It's been a while since I used Vue but it seems like both frameworks have converged quite a bit over the years. With this release I'm particularly curious now: why would somebody pick one over the other?
There is no way around trying yourself. Stop wasting time asking people for their opinions about frameworks and start building your own insights from first hand experience.
Re: Svelte 5 Released
#108From the changlog on Github: The new version brings: - even better performance, - a more granular reactivity system with runes, - more expressive template syntax with snippets and event attributes, - native TypeScript support, - and backwards compatibility with the previous syntax!
Here’s the release on GitHub: https://github.com/sveltejs/svelte/releases/tag/svelte%405.0... Probably a better link for this post?
Edit: I'm not so sure that's up to date actually. Lots of "Coming soon" sections
Re: Svelte 5 Released
#109I can wholeheartedly recommend Svelte. As someone who can only do vanilla HTML/CSS/JS, it lets me build projects quickly and efficiently without having to learn something complex like React. Case in point this silly side project made in Svelte over a weekend: https://meoweler.com
This is also why I chose SvelteKit as my first framework. I was actually pretty fluent in vanilla since my first real web project was a full stack chrome extension, but when it came time to choose a framework for my first true web app, I chose Svelte because it was the only framework I could immediately understand.
Re: Svelte 5 Released
#110We use Svelte 4.0 in production and it performs beautifully; it rarely is the cause of our frustrations. Excited to try the new version. Lately I’ve also been wondering about the relationship and correlation between software writing skills and writing skills.