Settings

Theme

Ask HN: Which Web Front end Framework to choose?

4 points by deccanchargers 5 years ago · 16 comments · 1 min read


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

sandreas 5 years ago

Svelte + Routify (https://github.com/roxiness/routify)

Because it is fast and lightweight.

  • schappim 5 years ago

    It has been a while since I've used Svelte in anger.

    Is the functionality of Routify now in SvelteKit[1]?

    [1] https://kit.svelte.dev/docs

    • sandreas 5 years ago

      > I've used Svelte in anger.

      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.

sircastor 5 years ago

My order of preference is Svelte, Vue, React. I feel like they are in that order intuitive and quick to build a project.

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.

lmiller1990 5 years ago

The one you know, or the one all your co-workers know. Otherwise just choose the one that's easiest to recruit for (React). They ideals are more or less the same and they solve the same problem.

aristofun 5 years ago

Modern react is mature, stable, thoroughly explored by community yet at the same time lean enough to start small (ie scalable and battle tested).

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.

austincheney 5 years ago

I prefer none. I find them to be overkill and often unnecessary, so long as you are comfortable with the primary APIs of the web platform.

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.

claudiojulio 5 years ago

Use svelte, it is the easiest and fastest of these three. To use react it is good to have a good command of javascript. The vue is easier than the react, but the vuex is very complicated. The svelte stores are very easy to use. And vue has some structures in the svelte are addressed in a simplified way, as methods and data computed.

Svelte is the present and the future!

Automatically translated.

codingclaws 5 years ago

None as well. I like the browser js APIs and it's nice to avoid the front-end framework complexity.

afarrell 5 years ago

I would choose ReactJS because its what I know and because it seems to have the most momentum behind it.

iamjonjackson 5 years ago

The TALL stack might be an interesting option if you're more comfortable with the full stack development approach but with responsiveness built in.

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.

Raed667 5 years ago

I enjoy working with React (and Next.js when I need server-side-rendering).

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.

agustif 5 years ago

React with NextJS for SSR and BlitzJS for full-stack webdev, and Prisma for ORM, and Postgres for Database

cordaciu 5 years ago

VueJs for me since it does what I need + ...Vuetify is great.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection