340
reject modernity embrace htmx
(iusearchlinux.fyi)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Svelte my man, I barely have to read the docs, just guess how things should be done because that's how it would work in vanilla JS, and most often it just works.
Svelte is very good. If I had to use a frontend framework I would either pick svelte or soldijs both are great.
What would you say is the most important difference between the two? I feel like I should dip my toes into Svelte, but I haven't had a reason yet
Svelte is for if you hate React and like vanilla JavaScript. Solid or Next is if you like React.
And what if I hate both?
HTMX I guess, lol
Never used React, I went straight to Solid, but I quite like vanilla, I mean, you'll always be using "vanilla" in some form or another
Been a react dev for about 4 years now, I’ve heard good things about Svelte. But like from a career perspective would it be worth the switch now?
It's good to play around with different frameworks from time to time, even if it's just to form an initial opinion on. I've been programming for 15+ years and the only constant is learning new things.
From a career perspective using it enough to know whether you'd like to or be willing to work with it in the future is probably enough. Then when you're looking you know whether you want to apply for jobs focused on it.
On that topic I've been on the market and haven't seen Svelte mentioned a single time when searching, granted I've probably only looked at a couple hundred listings (most being WFH).
From a career perspective, think of languages and frameworks as tools. Knowing how to work with more tools broadens your horizon about what you can achieve and how efficiently. Sure, you can specialize on certain tools, but these come and go.
Svelte is the way to go