3 ms·
I worked 2 years with Angular 1 and it was OK, but now that I'm working with React I can't imagine going back to Angular. You should read the official tutorial
by ggregoire 10y ago
I worked 2 years with Angular 1 and it was OK, but now that I'm working with React I can't imagine going back to Angular.
You should read the official tutorial on the React website [1], it take like 1 hour and you will know everything about React (the API is incredible simple). Then start your app with the official Create-React-App [2] (it installs for you a webpack/babel configuration and a fetch polyfill, so you can use out-of-the-box JSX, classes, import/export, async/await, a cross browser fetch for your AJAX calls, etc..). You don't need Redux, but probably React-Router if your app has several pages.
And that's it! The React/Babel/Webpack stack has completely changed how we develop web applications. And with Create-React-App you avoid all the boilerplate.
[1] https://facebook.github.io/react/docs/tutorial.html https://facebook.github.io/react/docs/tutorial.html
[2] https://github.com/facebookincubator/create-react-app https://github.com/facebookincubator/create-react-app