react
19.3.1 · 14 Oct 2026MIT275.7M / weekRepositoryHomepagenpmAtom feed
Upgrading react From 0.12.2 to 0.13.0
1 release in betweenevery note read
- 13
- changes to make
- 0
- advisories fixed
- 9
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Breaking0.13.0
- Deprecated0.13.0
- Deprecated0.13.0
Security
1 advisory still affects 0.13.0
- Cross-Site Scripting in reacthigh · GHSA-hg79-j56m-fxgv
Upgrading to 0.14.0 clears it.
Release by release
- Breaking
Mutating
propsafter an element is created is deprecated and will cause warnings in development mode; future versions of React will incorporate performance optimizations assuming that props aren't mutated - Breaking
Static methods (defined in
statics) are no longer autobound to the component class - Breaking
refresolution order has changed slightly such that a ref to a component is available immediately after itscomponentDidMountmethod is called; this change should be observable only if your component calls a parent component's callback within yourcomponentDidMount, which is an anti-pattern and should be avoided regardless - Breaking
Calls to
setStatein life-cycle methods are now always batched and therefore asynchronous. Previously the first call on the first mount was synchronous.
- Breaking
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.