Which front-end framework would you learn: React or Vue?
[Edit: should have clarified, but I'm a solo entrepreneur. But eventually plan to hire others to mainly take over the dev work.]
I have some past experience with Vue (specifically Vue 2), but it's been a while and I've forgotten most of it. Considering Vue 3 is out and quite different, it feels almost like starting from scratch.
My initial choice of Vue was based on its ease of use for beginners, as recommended by a friend. I found it approachable, but now I'm reconsidering my options.
Here's why I'm contemplating React:
- It seems to have a much wider usage in the industry.
- There's a larger ecosystem of tools and resources available for React.
- It might be easier to find and hire people skilled in it.
- I've noticed specific tools and resources, like the low-code tool Recode and Tailwind UI templates, predominantly use React.
Given these points, I'm leaning towards React despite my prior experience with Vue. I'm looking for insights from the HN community. Which framework would you recommend for someone in my position? Any advice or personal experiences would be greatly appreciated.
For Vue, I think it's in the middle for me, it can be used by teams and can be used by solo devs and it seems to follow some very good practices. This I would take away from React only for the reason that each major version introduces some new concept that flips things on its head and I have feel like each new react project doesn't feel like an older one I worked on 2-3 years ago, and in some cases, not for the better.
Regarding Svelte, I wish I used it more. I built a project [1] that took me almost no time except fiddling around with github actions to get it up and running and it felt so naturally close to html/js when building, I was hardly looking up documentation or tutorials. Adding new features to it felt even more fun.
I've mainly stuck with React because of the large ecosystem but in 2024, it feels like once you find a good starting point with any of these, you should be able to build most apps with it.
Another thing to not shy away from is seeing that most large projects use React as an example, you can use something like ChatGPT to convert a react snippet to a vue or svelte snippet.
1: https://bikes.usmanity.com