- Intuitive
- Suitable for small projects as well as large projects.
- That is here to stay, i.e. either adopted by many companies, or its adoption curve is going up.
Which one should I pick? Would Svelte be a good choice?
- Intuitive
- Suitable for small projects as well as large projects.
- That is here to stay, i.e. either adopted by many companies, or its adoption curve is going up.
Which one should I pick? Would Svelte be a good choice?
If it's for yourself: Svelte. Amazing community, very likely to be here in 5 years, but I don't think it's been proven to work at large scales yet.
If you want to twist everything upside down and see the full potential of what front-end dev work could be: Qwik or Elm (imho)
many pages and lots of functionality with lots of data floating around like Reddit, Twitter
literally everything/anything like Facebook, GitHub, etc
For simple apps, I'd go with a PWA if possible. For single, mostly informational, pages you usually just need a static site. For a company blog, some of these tools could be used to make the frontend for a CMS, but you can also just get away with Wordpress, Squarespace, etc most of the time unless they want some really custom functionality. Then there's also micro-frontends and Astro and other related tools if you're trying to do a lot of different things and wanna mix and match different solutions to different problems
It's got some cool db/sql stuff in there
By pretty much every metric,[^0] svelte is a tiny community still. A darling of the web dev community for sure, but has not yet gained the confidence of commercial products. Perhaps this has actually been good for Svelte and its development. It definitely seems like it's heading towards much wider adoption so I guess we'll see it tested soon enough
[^0]: https://gist.github.com/tkrotoff/b1caa4c3a185629299ec234d231...
In 2019: React.js 31.3%, Angular/Angular.js 30.7%, Vue.js 15.2%
I'm sure those number skew towards a certain kind of dev. Hopefully this gives you a better idea of how skewed it is. Also note: it's an online survey. Devs of niche frameworks can and often do encourage people to rate their framework higher
> but I don't think it's been proven to work at large scales
i basically have this saved now:
notable companies now using svelte not just for internal apps but customer facing, critical stuff:
- huggingface (for everything, including gradio)
- alaska airlines (entire customer flow)
- razorpay (payment dialogs)
- schneider electric (many things)
- ikea (entire ecomm experience)
- riot games (league of legends client)
- Brave (search page)
- Square (developer portal)
- several YC startups
- and basically every notable data journalism outlet on the planet (Bloomberg, the Economist, Reuters, Les Echos, german and japanese publications, pudding.cool, and of course the NYT)
Edit: and yeah you're right about Elm. Probably not a good choice for first timers. But it's a great example of what a FE that adheres to functional programming philosophies could look like. Given React's recent developments I think the skills gained from trying it out would definitely carry over to React and other emerging frameworks. Although it's famously stable and error-free, it's not been battle tested for very large and complex apps so it's likely only a good choice for sideprojects atm.
If you're learning a new framework and you're concerned about stability React is still definitely the way to go. I think both React and Svelte are good at depending on generalizeable front-end skills that can carry over to other frameworks though so if your career doesn't depend on it, I don't think learning Svelte is a waste of time at all
It's really close to svelte's style, of simplicity and principle of least astonishment. It also uses very explicit wrappers for reactive objects so that there's isn't as much magic happening. For me, vue's reactivity is order of magnitude simpler than things like svelte.
Vue also has a pretty well established community and a pretty solid foundation.
Just use: typescript, vite, and react.
at this point React Vue and Svelte are all decent production choices, as for what is intuitive that really depends what YOU like, different strokes different folks
svelte is probably the most fully integrated toolkit (animations, state mgmt, server side rendering, serverless api routes, etc) and ships the least javascript at this point tho if u want the quick sales pitch
- It works in small and large applications
- Used in majority of new frontend apps
- Reasonably intuitive, especially if you stick to functional components and aren't messing around with low-level renders
That said, I enjoyed building a web app with Svelte. It's extremely simple and powerful. Its only disadvantage is it is new and has a fraction of the market share.
> That is here to stay, i.e. either adopted by many companies, or its adoption curve is going up.
Arguably React for ecosystem and provability at every scale.
> Intuitive
Likely Svelte. React is mostly fine but hooks come with their footguns for newcomers.
I have been doing frontend dev for over a decade and I never needed a framework. When I want to template data client side, I use Handlebars.
The headwinds against React are strong.