react
19.3.1 · 14 Oct 2026MIT275.7M / weekRepositoryHomepagenpmAtom feed
16.14.0 is the newest release of 16.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- Rename React.unstable_AsyncComponent usages to React.unstable_AsyncMode
New
- Add a new officially supported context API.
- Add a new
React.createRef()API as an ergonomic alternative to callback refs. - Add a new
React.forwardRef()API to let components forward their refs to a child.
In short
1 breaking3 new2 fixed
- Breaking
Replace
React.unstable_AsyncComponentwithReact.unstable_AsyncMode.
Release note
The section about react of a note shared by several packages.
React
Add a new officially supported context API. (@acdlite in #11818)
Add a new
React.createRef()API as an ergonomic alternative to callback refs. (@trueadm in #12162)Add a new
React.forwardRef()API to let components forward their refs to a child. (@bvaughn in #12346)Fix a false positive warning in IE11 when using
React.Fragment. (@XaveScor in #11823)Replace
React.unstable_AsyncComponentwithReact.unstable_AsyncMode. (@acdlite in #12117)Improve the error message when calling
setState()on an unmounted component. (@sophiebits in #12347)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.