Getting started with React 17
React recently announced a new release candidate version of React 17. In this post, we will see how we can get started with React 17
Installing React 17
To install react 17, run the below command.
npm install [email protected] [email protected]
if you use yarn
yarn add [email protected] [email protected]
There are also CDN links you can use directly
<script crossorigin src="https://unpkg.com/[email protected]/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"></script>
Changelog in react 17
- Aligning with Browsers
- No Event Pooling
- Effect Cleanup Timing
- Consistent Errors for Returning Undefined
- Native Component Stacks
- Removing Private Exports