react
19.3.1 · 14 Oct 2026MIT275.7M / weekRepositoryHomepagenpmAtom feed
0.14.10 is the newest release of 0.5.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 3 changes to make.
Before you upgrade
- Prop values are now always converted to strings before DOM insertion; check attribute values.
- Stop using React.autoBind; it was removed.
- Rename React.unmountAndReleaseReactRootNode calls to React.unmountComponentAtNode.
New
- Memory usage improvements - reduced allocations in core which will help with GC pauses
- Performance improvements - in addition to speeding things up, we made some tweaks to stay out of slow path code in V8 and Nitro.
- Support for Selection events.
- Support for Composition events.
- Support for additional DOM properties (
charSet,content,form,httpEquiv,rowSpan,autoCapitalize).
In short
2 breaking1 removed9 new2 faster3 fixed1 internal
- Breaking
Standardized prop -> DOM attribute process. This previously resulting in additional type checking and overhead as well as confusing cases for users. Now we will always convert your value to a string before inserting it into the DOM.
- Breaking
Renamed
React.unmountAndReleaseReactRootNodetoReact.unmountComponentAtNode. - Removed
Removed
React.autoBind- This was deprecated in v0.4 and now properly removed.
Security
2 advisories affect 0.5.0; 0.5.2 fixes the others
- HighCross-Site Scripting in reactGHSA-hg79-j56m-fxgv · 4 Sep 2020No fix yet
- ModerateCross-Site Scripting in reactGHSA-g53w-52xc-2j85 · 4 Sep 2020Fixed in 0.5.2
Release note
The section about react of a note shared by several packages.
React
Memory usage improvements - reduced allocations in core which will help with GC pauses
Performance improvements - in addition to speeding things up, we made some tweaks to stay out of slow path code in V8 and Nitro.
Standardized prop -> DOM attribute process. This previously resulting in additional type checking and overhead as well as confusing cases for users. Now we will always convert your value to a string before inserting it into the DOM.
Support for Selection events.
Support for Composition events.
Support for additional DOM properties (
charSet,content,form,httpEquiv,rowSpan,autoCapitalize).Support for additional SVG properties (
rx,ry).Support for using
getInitialStateandgetDefaultPropsin mixins.Support mounting into iframes.
Bug fixes for controlled form components.
Bug fixes for SVG element creation.
Added
React.version.Added
React.isValidClass- Used to determine if a value is a valid component constructor.Removed
React.autoBind- This was deprecated in v0.4 and now properly removed.Renamed
React.unmountAndReleaseReactRootNodetoReact.unmountComponentAtNode.Began laying down work for refined performance analysis.
Better support for server-side rendering - react-page has helped improve the stability for server-side rendering.
Made it possible to use React in environments enforcing a strict Content Security Policy. This also makes it possible to use React to build Chrome extensions.
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.