Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Upgrade to React 16.9 #26

Open
mabhub opened this issue Aug 9, 2019 · 0 comments
Open

Upgrade to React 16.9 #26

mabhub opened this issue Aug 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@mabhub
Copy link
Contributor

mabhub commented Aug 9, 2019

It contains several new features, bugfixes, and new deprecation warnings to help prepare for a future major release.

This upgrade may require a bunch of small changes OR big refactor to hooks as some React class component lifecycle method are now deprecated and renamed:

  • componentWillMount → UNSAFE_componentWillMount
  • componentWillReceiveProps → UNSAFE_componentWillReceiveProps
  • componentWillUpdate → UNSAFE_componentWillUpdate

Tools like codemod may help.

image

Take a look for more details to https://reactjs.org/blog/2019/08/08/react-v16.9.0.html

@mabhub mabhub added the enhancement New feature or request label Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant