I 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
> vanilla HTML/CSS/JS Svelte reminded me of how I got my start with coding. I love it. Refusing to learn React has cost me job opportunities but Svelte is just so much more pleasant to use and easy to grok. I’m currently building a social network with SvelteKit and I couldn’t be happier. Excellent DX.
Svelte 5 Released
241–250 of 254 posts
Re: Svelte 5 Released
#242I 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
> vanilla HTML/CSS/JS Svelte reminded me of how I got my start with coding. I love it. Refusing to learn React has cost me job opportunities but Svelte is just so much more pleasant to use and easy to grok. I’m currently building a social network with SvelteKit and I couldn’t be happier. Excellent DX.
> easy to grok got me :)
Re: Svelte 5 Released
#243Exciting, 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?
The big issue for me was the lack of support for nested observables in Svelte, which caused no end of trouble; plus a lack of portals (though maybe the new snippets fix that?).
Re: Svelte 5 Released
#244Re: Svelte 5 Released
#245Earlier quoted context omitted.
There aren't very many good modern, maintained vanilla js libraries. But for just about anything I need in React I can find something polished and well supported that just works.
I'm not sure I understand. What types of libraries? When I think of libraries, I think of ExpressJS, lodash, JQuery, left-pad, etc. There are absolute tonnes of vanilla JS libraries. I've rarely used React, are you talking about React-specific libraries? I find it hard to believe that there are more maintained React libraries than vanilla JS libraries.
It basically singlehandedly convinced me that the ecosystem was worth going with react when I started my project, despite really enjoying svelte.
Re: Svelte 5 Released
#246Earlier quoted context omitted.
There aren't very many good modern, maintained vanilla js libraries. But for just about anything I need in React I can find something polished and well supported that just works.
I'm not sure I understand. What types of libraries? When I think of libraries, I think of ExpressJS, lodash, JQuery, left-pad, etc. There are absolute tonnes of vanilla JS libraries. I've rarely used React, are you talking about React-specific libraries? I find it hard to believe that there are more maintained React libraries than vanilla JS libraries.
Re: Svelte 5 Released
#247Earlier quoted context omitted.
That the whole industry embraced. Not bad for a piece of trash.
An unfortunate issue. Vue is far better, as is Svelte.
Meanwhile, React is basically pure TS and the only bugs I run into are the occasional limitations of TSC.
Re: Svelte 5 Released
#248Earlier quoted context omitted.
I can’t speak for the majority, but for my team it’s because it’s not worth the distraction. We’ve got years of experience and tooling and “tradition” with one approach. Why do we want a second? It’s also just not an interesting issue. In my experience, the actual coding (and later maintenance) of a web application is the least challenging, least interesting part of the project. At that stage, all the interesting pro…
From users' point of view, they only care about the performance really Some e-commerce apps use React in WebView on Android and the apps will become unresponsive after visiting several product pages (more than 10 probably). They have to be force closed and opened to be used again
reddit switch from reactjs to lit for performance reasons
https://www.reddit.com/r/reactjs/comments/12yxva6/whats_you_...
nothing is wrong with react, performance is obviously depending on how optimization is done
Re: Svelte 5 Released
#249Earlier quoted context omitted.
I went with Svelte when I built out the website for my canvas library a few years back[1]. It's proved to be easy to maintain the site, and I particularly like that it supported my vanilla JS library (which I use on the site's landing page) with minimal fuss. At some point I want to update the site to use Sveltekit, which I'd been experimenting with in personal projects. But then the team announced Svelte 5 and these…
It's funny because very early on the key selling point of Svelte was that you just mutate objects and it compiles to the observable pattern, unlike React's clunky setState syntax. Now, somehow magic symbols in the code is supposed to be an improvement? It doesn't seem that different from React's magic hooks these days. Is there some mysterious force of nature that binds front-end frameworks to bad decision making?
Furthermore had limitations in terms of children which made it difficult to build UI libraries.
Svelte 5 now is actually simpler to learn for new comers despite higher verbosity.
I love it!
Re: Svelte 5 Released
#250can I do async derived stores by default yet? It was kinda tricky to get working in svelte 4 and even Square/svelte-store wasn't super ergonomic. Would be super nice if it was built in
just came back to svelte after using version 3 previously, and I'm still finding my footing;