Ask HN: Which Web Front end Framework to choose?
Web is fast changing platform. I need to choose good Frontend Framework for SPA that i want to develop. I want it to be stable and efficient.
I think that these are the choices: Vuejs , ReactJS and SvelteJS .
So,which one would you prefer and why? if it's other choice than the above , please tell. I am not here to start war but want to know your preference, that's it. Static rendering is not feasible as it's displaying dynamic data.
Please suggest
16 comments
[ 3.0 ms ] story [ 52.0 ms ] threadBecause it is fast and lightweight.
Is the functionality of Routify now in SvelteKit[1]?
[1] https://kit.svelte.dev/docs
I also had a bad day (literally) figuring out how to use svelte with SCSS, TypeScript and a good routing framework but after that day it felt awesome. The boilerplate has always been a pain to me on nearly every framework and with svelte it was pretty ok-ish.
> Is the functionality of Routify now in SvelteKit[1]?
Maybe, did not know about that. Thank you, I'll definitely try it out.
But if you're just wanting to work pure client side, then JS it is!
I gather vuejs is a little simpler than React if you're starting out.
I like that JSX is close to native JS and doesn't have weird syntax like `v-bind`, `v-if` or `bind:value`.
Basically for learning, getting better at React means you get better at JavaScript.
I like Svelte a lot because of the size of its footprint vs the other two.
All that said, if you already know one of them - even just a little - just go with that. If you’re just trying to make a thing, get going and make it.
If you stress about composition then you will want to use one of those large frameworks. If you prefer to instead stress about feature delivery you probably are better off without them as they will limit your ability to do things in new and unpopular ways.
Svelte is the present and the future!
Automatically translated.
there is vuex alternative called pinia[0] which is much simpler than vuex
[0]: https://pinia.esm.dev/
Svelte is promising but way too young.
Vue seems yet a tiny bit behind React in terms of community size and number of hi demanding real life use cases. As far as I see it.
In the end you should start with your specific requirements for the app, not from a fashion question.
There’s no and never be “one choice fits all” answer.