1. If you want to build high performance JS mobile apps
2. If your web app regularly changes state
If your single-page web app needs to react regularly to state changes, you’ll want to seriously consider React (the clue is in the name). React is built on the idea of minimizing DOM operations – they’re expensive, and the least you have the better. Instead, React gives you a virtual DOM to render too instead of the actual DOM. This allows the minimum number of DOM operations you need to achieve the new desired state. With React, you can often stop worrying about DOM performance altogether. It’s simple to re-render an entire page all the time as soon as your state changes. This means your code is smaller, sleeker, and simpler – and simpler code is bug free code.
3. If you want to easily reuse your code
One of React’s biggest features are container components. What are those? The idea is simple – a container does the data fetching, and then renders it into a corresponding sub-component that shares the same name. This means that you separate your data fetching from your rendering concerns entirely – making your React code much, much more reusable in different projects.
4. If you like control over your stack
5. If you want to be in on the ground floor of the next big thing
There are thousands of experienced Angular developers, many of whom are progressing to learn Angular 2. In contrast, React is young, scrappy, and hungry – and you’ll be hard pressed to find anyone with more than a year or so’s experience using it. Despite that, employer demand is rising fast. If you’re looking to stand out from the crowd, React skills are an excellent thing to have on your resume.
Commit to building your next development project with React. Or maybe Angular. Whatever you decide, pick up some of our very best content from 7th to 13th November 2016 here.