Home
Starting Up
Case Studies DB
Products
Ideas DB
Vibe Coding Tools
Subscribe to IH+
Starting Up
Case Studies
Ideas DB
Products DB
Sign in
Join
5
Likes
15
Comments
React or Vue?
by
Josh Ternyak
When building a web app, do you prefer React JS or Vue JS?
Comment below π
My preference is Vue, (but I use both when needed) in React everything is Javascript, I like how in Vue I can still use HTML for HTML, CSS for the CSS and JS for the JS. I like not using JSX, it's awkward to me. I like just dropping the Vue library into a legacy site and using it right from the <script> tag without a big build system.
I've tried both. VueJS was very easy to learn, but I am learning React instead now mainly because of a post I did a while back (https://www.indiehackers.com/post/the-ongoing-question-react-or-vue-79fdae38a5). Many Indiehackers said it would benefit me in the long run to learn React so that is the path I chose πβ
I will suggest you to go for sveltejs svelte.dev
I like the progressive approach of vue. I haven't used it in a real project yet but I like that it can be used as a better jQuery. If I want something more advanced it'll also be fine and I don't think I'll ever need the advantages React provides. I also don't plan to look for dev jobs so I have the freedom to choose what seems more fun, that's why I went python (django) + vue
In choosing any library or framework, one of the most important things I look for is how big the community is. You don't want to be in the middle of your project and realize that a plugin you need is not available, or there's a bug that no one else has encountered yet!
So I'd pick React. I'm sure Vue is basically equivalent in every other aspect, but the React community is much larger.
I use both but I prefer VueJs because of its router and .vue files.
I've gone for React (well migrating to Preact) for Portabella. A lot of tooling around it and pretty conceptually simple.
You should add a loading state or something until the style is loaded, because it displays the page unstyled for a fraction of second and it's a weird experience, probably leaving visitors wondering "what the hell was that".
Thanks! Yeah I have been aggressively trimming the landing page to get a high score with googles page load tool, guess I went a little too far there.
Will look into it.
Never tried Vue, and I don't think I will ever. Not because I'm a react hardcore fan just because it doesn't matter! if you want to build something just do it with what you already know. Or even better no-code if you can
Agree 100%. I use Vue and I'd never say "You should use Vue" - just go with what you like, what makes you feel confident, and let's you get stuff done quickly.
It's like Ruby vs Python - they both do the same thing, just a matter of preference.
It's true only if you do something small alone. Once you need to expand it really does matter.
Questions will be either you need to find someone for your project:
a) how easy is it to find developer
b) what's the price
Or you going to join some project:
a) how easy to find in chosen language (how popular it is)
b) what do they pay
Another thing to consider is availability of existing solutions (libraries, modules, eco-system).
It's not only about preference.
Use whatever you feel happy with during coding.
Im currently in (hopefully, was) a loop to find which fits me the best.
I used React for years, but in the last 3 years I used Vue. Then about half year ago I found Svelte.
I made several smaller apps in each to see which is better in the following points:
Tested with SPA and SSR (nextjs, nuxtjs, sapper)
(Not measured in a scientific way, just with the brower's developer tools)
Svelte was the best. I really like the syntax sugar, no VDOM, small bundle size and that its pretty fast.
Nervertheless, I will still go with React because of the community.
I have worked more in React at previous jobs, but I prefer Vue, which I'm using for the front-end of Yomi.ai.
we're using
reactright now, but, i usedvuefor my last major project. both are fine.This comment was deleted 6 years ago