Tutorials & Coding by Sunny Singh on August 05, 2016
In the fourth part of this series, we learned about the last fundamental concept that is known as lifecycle methods. I want to close things off by discussing various other concepts and tools that are useful in advancing our knowledge in the React ecosystem.
I kept build tools such as Webpack out of the scope of this tutorial series to simplify things and keep the learning focused on React. You still don’t have to worry about build tools thanks to the create-react-app CLI tool and boilerplates, but keep in mind that learning Webpack reaps huge benefits such as being able to customize and add in anything that you want to your build process.
We learned how to fetch and display data in a React component, but since React is focused on just the view/UI layer, this can get messy really fast. For large applications, you’ll want a Flux-inspired library such as Redux. All that Redux does is create a central store where data will be added and manipulated, and I highly recommend Wes Bos’ video series Learn Redux.
In a real web app, you’ll probably want multiple pages and URLs. This is where React Router comes in to allow mapping certain URLs to components. This allows you to create a typical SPA (single page app) where the app never needs to reload.
One big appeal that React has on me is its ability to be rendered on the server-side. The two big benefits to this are SEO (search engine optimization) and performance. You can do this from scratch, but there are a few nice tools such as React Server and MERN that already handle this out of the box.
That’s it for this tutorial series, but use the suggestions from this article to continue your learning of React. We would love to know if this helped you in some way so leave a comment or tweet us. Also let us know what other topics you’d love to see in the future!