React 17 is here | WalkingTree Technologies

It has been more than 2 years since React came up with a new major release. The all-new React 17.0 is here but it doesn’t add any new features. Let’s take a look at React 17.0 and what are all the changes.

No new features

The React 17 release doesn’t add any new developer-facing features. Instead, this release is focused on making it easier to upgrade React itself. The React team is actively working on the new React features, but they’re not a part of this release. In other words, React 17.0 is a stepping stone release that makes it safer to embed a tree managed by one version of React inside a tree managed by a different version of React.

What are the new changes in React 17.0?

  • Event Delegation: In React 17, React will no longer attach event handlers at the document level. Instead, it will attach them to the root DOM container into which the React tree is rendered.
  • No event pooling: React 17 removes the event pooling optimization. It doesn’t improve performance in modern browsers and confuses even experienced React users.
  • Effect Cleanup Timing: The timing of the cleanup function is more consistent.
  • Native Component Stacks: With React 17, the component stacks are generated using a different mechanism that stitches them together from the regular native JavaScript stacks.
  • Removing Private Exports: The private exports have been removed. React Native for Web was the only project using them, and they have already completed a migration to a different approach that doesn’t depend on private exports.

to know more about the React 17.0 version.

Originally published at https://walkingtree.tech on September 22, 2020.

--

--

--

WalkingTree is an IT software and service provider recognized for its passion for technology.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build Your React Component Library with TypeScript and Rollup

Blazor.Cordova

Leetcode #97 Interleaving String (DP)

React Context in the World of Component Composition

Redux persist : A short

ExpressJS Prerequisites

How to lint Git commit messages

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
WalkingTree Technologies

WalkingTree Technologies

WalkingTree is an IT software and service provider recognized for its passion for technology.

More from Medium

React Component Lifecycle

React Refactoring

Learning Redux, What about I know about Redux (React)

Basic of Redux — A beginner Guide