DEV Community

Cover image for React update 2020
Blossom Babs
Blossom Babs

Posted on

React update 2020

React 2020 is here! Here are two new features I have noticed so far:

1. You no longer have to import React and ReactDOM.

I quite liked this for some reason; less code. Also, my js files have the extensions js and my jsx files have the extension jsx.

2. reportWebVitals.js

reportWebVitals has replaced serviceWorker. serviceWorker.js is used to make the react app a progressive web app. However, it has been replaced with reportWebVitals.


Have you started using the new react update? Do you like it? What new features have you noticed? Let me know in the comment section below 👇🏾

Discussion (0)