React is a Library, not a Framework, you can use React for:
- Web apps
- Static sites
- Mobile native applications with React Native
- Server-rendered React apps(Next, Gatsby, Phenomic)
- Virtual Reality with React VR
If you would like to learn more about React Renderer just check this awesome repository https://github.com/chentsulin/awesome-react-renderer
Migrating an existing app to React
Migration to React is a low-risk way, you can start with small parts of your website and migrate more complex components step by step to React.
Broad Browser Support
Since React is used heavily by facebook you can trust that React is running reliably on a wide range of browsers, that gives you an extra benefit if you migrate or use React.
React offers an API that is very simple to learn, I highly recommend the official React documentation https://reactjs.org/docs.
Shortly it is very easy to create a basic React app:
The highest contributors to the React Library are Facebook employees.
Since Facebook is using React in over 30,000 components you can be sure that Facebook would never make breaking changes to thousands of components without having a tool to automate this process.
With https://github.com/reactjs/react-codemod you can automatically upgrade older React components to the latest React specification.
React is one of the most popular repositories on GitHub.
- 89000 Stars
- 16848 Forks
- 5500 Watcher
- 1167 Contributors
- 83 Releases
- over 8 000 000 downloads in just one month
- A highly active StackOverflow community
React and Vue both have a Virtual DOM, which is meant to improve performance. But to answer the question about the performance itself I refer to the js-framework-benchmark which provides a quite well overview https://github.com/krausest/js-framework-benchmark.
Let's compare traditional UI tests to React tests:
|Traditional UI tests||React|
|Complex to set up||Almost no configuration required|
|Requires browser||Run in-memory via Node.js|
|Time comumint to write (you have to interacte with the DOM)||Quickly and easy to update|
- Jest (build by Facebook and specialized for React)
I hope this post gave you an overview of React if you want to start just jump to the official documentation https://reactjs.org/docs.
Subscribe to Sascha Heyer, B.Sc., Software and Machine Learning Engineer
Get the latest posts delivered right to your inbox