DEV Community

Cover image for React update 2020
Blossom Babs
Blossom Babs

Posted on

4

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 👇🏾

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay