notabase
notabase copied to clipboard
Bump react and @types/react
Bumps react and @types/react. These dependencies needed to be updated together.
Updates react from 17.0.2 to 18.2.0
Release notes
Sourced from react's releases.
18.2.0 (June 14, 2022)
React DOM
- Provide a component stack as a second argument to
onRecoverableError. (@gnoffin #24591)- Fix hydrating into
documentcausing a blank page on mismatch. (@gnoffin #24523)- Fix false positive hydration errors with Suspense. (
@gnoffin #24480 and@acdlitein #24532)- Fix ignored
setStatein Safari when adding an iframe. (@gaearonin #24459)React DOM Server
- Pass information about server errors to the client. (
@salazarmand@gnoffin #24551 and #24591)- Allow to provide a reason when aborting the HTML stream. (
@gnoffin #24680)- Eliminate extraneous text separators in the HTML where possible. (
@gnoffin #24630)- Disallow complex children inside
<title>elements to match the browser constraints. (@gnoffin #24679)- Fix buffering in some worker environments by explicitly setting
highWaterMarkto0. (@jplhomerin #24641)Server Components (Experimental)
18.1.0 (April 26, 2022)
React DOM
- Fix the false positive warning about
react-dom/clientwhen using UMD bundle. (@alireza-molaeein #24274)- Fix
suppressHydrationWarningto work in production too. (@gaearonin #24271)- Fix
componentWillUnmountfiring twice inside of Suspense. (@acdlitein #24308)- Fix some transition updates being ignored. (
@acdlitein #24353)- Fix
useDeferredValuecausing an infinite loop when passed an unmemoized value. (@acdlitein #24247)- Fix throttling of revealing Suspense fallbacks. (
@sunderlsin #24253)- Fix an inconsistency in whether the props object is the same between renders. (
@Andaristand@acdlitein #24421)- Fix a missing warning about a
setStateloop inuseEffect. (@gaearonin #24298)- Fix a spurious hydration error. (
@gnoffin #24404)- Warn when calling
setStateinuseInsertionEffect. (@gaearonin #24295)- Ensure the reason for hydration errors is always displayed. (
@gaearonin #24276)React DOM Server
- Fix escaping for the
bootstrapScriptContentcontents. (@gnoffin #24385)- Significantly improve performance of
renderToPipeableStream. (@gnoffin #24291)ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6in #24287)- Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96in #24343)Use Subscription
18.0.0 (March 29, 2022)
... (truncated)
Changelog
Sourced from react's changelog.
18.2.0 (June 14, 2022)
React DOM
- Provide a component stack as a second argument to
onRecoverableError. (@gnoffin #24591)- Fix hydrating into
documentcausing a blank page on mismatch. (@gnoffin #24523)- Fix false positive hydration errors with Suspense. (
@gnoffin #24480 and@acdlitein #24532)- Fix ignored
setStatein Safari when adding an iframe. (@gaearonin #24459)React DOM Server
- Pass information about server errors to the client. (
@salazarmand@gnoffin #24551 and #24591)- Allow to provide a reason when aborting the HTML stream. (
@gnoffin #24680)- Eliminate extraneous text separators in the HTML where possible. (
@gnoffin #24630)- Disallow complex children inside
<title>elements to match the browser constraints. (@gnoffin #24679)- Fix buffering in some worker environments by explicitly setting
highWaterMarkto0. (@jplhomerin #24641)Server Components (Experimental)
18.1.0 (April 26, 2022)
React DOM
- Fix the false positive warning about
react-dom/clientwhen using UMD bundle. (@alireza-molaeein #24274)- Fix
suppressHydrationWarningto work in production too. (@gaearonin #24271)- Fix
componentWillUnmountfiring twice inside of Suspense. (@acdlitein #24308)- Fix some transition updates being ignored. (
@acdlitein #24353)- Fix
useDeferredValuecausing an infinite loop when passed an unmemoized value. (@acdlitein #24247)- Fix throttling of revealing Suspense fallbacks. (
@sunderlsin #24253)- Fix an inconsistency in whether the props object is the same between renders. (
@Andaristand@acdlitein #24421)- Fix a missing warning about a
setStateloop inuseEffect. (@gaearonin #24298)- Fix a spurious hydration error. (
@gnoffin #24404)- Warn when calling
setStateinuseInsertionEffect. (@gaearonin #24295)- Ensure the reason for hydration errors is always displayed. (
@gaearonin #24276)React DOM Server
- Fix escaping for the
bootstrapScriptContentcontents. (@gnoffin #24385)- Significantly improve performance of
renderToPipeableStream. (@gnoffin #24291)ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6in #24287)- Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96in #24343)Use Subscription
... (truncated)
Commits
72b7462Bump local package.json versions for 18.1 release (#24447)22edb9fReactversionfield should match package.json (#24445)4175f05Temporarily feature flag numeric fallback for symbols (#24401)e8f4a66Fix import in examplebb49abeUpdate some READMEs (#24290)7e3121eRemove unstable_createMutableSource from experimental build (#24209)34aa5cfUpdate local package.jsons for 1872a933dGate legacy hidden (#24047)d5f1b06[ServerContext] Flight support for ServerContext (#23244)1780659Move createRoot/hydrateRoot to react-dom/client (#23385)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by gnoff, a new releaser for react since your current version.
Updates @types/react from 17.0.43 to 18.0.17
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)