[Snyk] Upgrade: react, react-dom #560
Open
+2,522
−848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade multiple dependencies.
👯♂ The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
from 16.13.1 to 18.3.0
on 2024-04-25
from 16.13.1 to 18.3.0
on 2024-04-25
Release notes
Package name: react
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
this.refs
to support string ref codemod 909071findDOMNode
outside StrictMode c3b283test-utils
methods d4ea75defaultProps
for function components #25699key
#25697act
fromtest-utils
d4ea75React DOM
unmountComponentAtNode
8a015brenderToStaticNodeStream
#28874React DOM
onRecoverableError
. (@ gnoff in #24591)document
causing a blank page on mismatch. (@ gnoff in #24523)setState
in Safari when adding an iframe. (@ gaearon in #24459)React DOM Server
<title>
elements to match the browser constraints. (@ gnoff in #24679)highWaterMark
to0
. (@ jplhomer in #24641)Server Components (Experimental)
useId()
inside Server Components. (@ gnoff) in #24172React DOM
react-dom/client
when using UMD bundle. (@ alireza-molaee in #24274)suppressHydrationWarning
to work in production too. (@ gaearon in #24271)componentWillUnmount
firing twice inside of Suspense. (@ acdlite in #24308)useDeferredValue
causing an infinite loop when passed an unmemoized value. (@ acdlite in #24247)setState
loop inuseEffect
. (@ gaearon in #24298)setState
inuseInsertionEffect
. (@ gaearon in #24295)React DOM Server
bootstrapScriptContent
contents. (@ gnoff in #24385)renderToPipeableStream
. (@ gnoff in #24291)ESLint Plugin: React Hooks
Use Subscription
use-sync-external-store
shim. (@ gaearon in #24289)Read more
React DOM
SharedArrayBuffer
cross-origin isolation warning. (@ koba04 and @ bvaughn in #20831,