Sourced from react-dom's releases.
18.3.0 (April 25, 2024)
This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.
Read the React 19 Upgrade Guide for more info.
React
- Allow writing to
this.refsto support string ref codemod 909071- Warn for deprecated
findDOMNodeoutside StrictMode c3b283- Warn for deprecated
test-utilsmethods d4ea75- Warn for deprecated Legacy Context outside StrictMode 415ee0
- Warn for deprecated string refs outside StrictMode #25383
- Warn for deprecated
defaultPropsfor function components #25699- Warn when spreading
key#25697- Warn when using
actfromtest-utilsd4ea75React DOM
Sourced from react-dom's changelog.
18.3.0 (April 25, 2024)
This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.
Read the React 19 Upgrade Guide for more info.
React
- Allow writing to
this.refsto support string ref codemod 909071- Warn for deprecated
findDOMNodeoutside StrictMode c3b283- Warn for deprecated
test-utilsmethods d4ea75- Warn for deprecated Legacy Context outside StrictMode 415ee0
- Warn for deprecated string refs outside StrictMode #25383
- Warn for deprecated
defaultPropsfor function components #25699- Warn when spreading
key#25697- Warn when using
actfromtest-utilsd4ea75React DOM
8a015b6
Add deprecation warning for unmountComponentAtNodec3b2839
Add deprecation warning for findDOMNoded4ea75d
ReactDOMTestUtils deprecation warnings7548c01
Deprecate renderToStaticNodeStream (#28872)
(#28874)5894232
Enable warning for defaultProps on function components for everyone (#25699)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable)
(#25383)2cfb474
Bump version from 18.2 to 18.3This version was pushed to npm by react-bot, a new releaser for react-dom since your current version.