r/web_programming • • Mar 23 '17

Vue, React or Angular2?

Ive been looking up on what to use, the pros and cons and would like some input from all you devs out there aswell other then the articles I see online.

From what I see I was going to go with Vue, but I would hope to hear peoples praises, critics and experience with these frameworks before I decide what to use.

5 Upvotes

20 comments sorted by

View all comments

Show parent comments

1

u/azn_introvert Mar 23 '17

Well, right now I am just in the planning stage, so Im just doing research on which framework to use where I wouldnt have to struggle as much as I should in the future. Vue has some nice docs and community but they arent as big as the React Community. Angular2 I personally dont like it but who knows if its gotten better. Right now I am just working on boilerplates for each framework and seeing how well and efficiently I can get these boilerplates working. So for now its just a view engine until I have decided on what framework to use.

1

u/TakeTheBlack84 Mar 23 '17

I like Vue. However the community is not quite big enough and I know I am going to run into issues and I won't be able to find the answers. I suggest you start with React. It seems to be winning out in the JavaScript front end department and there are plenty of resources to help you learn it.

1

u/emd2013 Mar 24 '17

what to use for the MC since React is just View (or am I wrong in this assumption)

1

u/spazgamz Mar 24 '17

Simple. Just use redux for your state management and reselect for memoization, and that gets you down to where you're ready to make a request. You untangle this async mess with some good redux middleware like redux-saga. You can also use mobx, which is a pretty magic observer, and tie it to react with react-mobx. Now you're ready for the back end. REST. You can use hapi for http and routing which comes bundled with joy for validation. Then you use pg for the database or knex for query writing or sequelize for an ORM. And now you're ready for your build, bundling and deployment. Webpack is great. Have I mentioned babble? You totally want to get going with flow. Websockets are great! Immutable.js. Progressive web applications. Server side rendering.

1

u/emd2013 Mar 24 '17

yeah I didn't understand any of that

2

u/spazgamz Mar 29 '17

Me either.

1

u/azn_introvert Mar 24 '17

Thank you for comment! Ive read that react-mobx is good for small projects, that redux would be a better choice for bigger projects