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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

đź‘‹ Kindness is contagious

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

Okay