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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

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

Okay