refactor: upgrade: react, react-dom #2335
Open
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.
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.14.0 to 18.2.0
on 2022-06-14
from 16.14.0 to 18.2.0
on 2022-06-14
Release notes
Package name: react
React 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, #20832, and #20840)Artifacts
React DOM
Read more
React
Package name: react-dom
React 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, #20832, and #20840)Artifacts
React DOM