Closed
Description
Follow up item for PR #12028
This blog post should correspond with the 16.3 release. Its primary purpose is to let people know how to prepare for subsequent 16.4 release.
For application developers, this post should explain how to run the codemod to rename the deprecated methods (reactjs/react-codemod/pull/195) as well as general strategies for how to use the new lifecycle(s) instead.
For library maintainers, this should provide recommended update and release strategies including:
- What kinds of code can be moved into
render
(to remain backwards compatible) vs what needs to either remain inUNSAFE_componentWillReceiveProps
or moved to the newstatic getDerivedStateFromProps
method. - When peer dependency version changes are required.
- What versions of React will support the new
UNSAFE_
methods.
Metadata
Metadata
Assignees
Labels
No labels