Bumpsreact,react-dom,react-test-renderer and@types/react. These dependencies needed to be updated together.
Updatesreact from 17.0.2 to 18.1.0
Release notes
Sourced fromreact's releases.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Changelog
Sourced fromreact's changelog.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Commits
Updatesreact-dom from 17.0.2 to 18.1.0
Release notes
Sourced fromreact-dom's releases.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Changelog
Sourced fromreact-dom's changelog.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Commits
bd4784c Revert#24236 (Don't recreate the same fallback on the client if hydrating su...9ae80d6 Suppress hydration warnings when a preceding sibling suspends (#24404)0dc4e66 Land enableClientRenderFallbackOnHydrationMismatch (#24410)3547729 Land enableSelectiveHydration flag (#24406)392808a Land enableClientRenderFallbackOnTextMismatch flag (#24405)a6d53f3 Revert "Clean up Selective Hydration / Event Replay flag (#24156)" (#24402)2bf5eba explain the rationale for the chosen escaping implemenation in a comment (#24...d40dc73 Escape bootstrapScriptContent for javascript embedding into HTML (#24385)ea7b2ec Remove wrong return pointer warning8dcedba Add fallback shim for AbortController (#24285)- Additional commits viewable incompare view
Updatesreact-test-renderer from 17.0.2 to 18.1.0
Release notes
Sourced fromreact-test-renderer's releases.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Changelog
Sourced fromreact-test-renderer's changelog.
18.1.0 (April 26, 2022)
React DOM
React DOM Server
- Fix escaping for the
bootstrapScriptContent contents. (@gnoff in#24385) - Significantly improve performance of
renderToPipeableStream. (@gnoff in#24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (
@scyron6 in#24287) - Don't consider a known dependency stable when the variable is reassigned. (
@afzalsayed96 in#24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store shim. (@gaearon in#24289)
18.0.0 (March 29, 2022)
Below is a list of all new features, APIs, deprecations, and breaking changes.ReadReact 18 release post andReact 18 upgrade guide for more information.
New Features
React
useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition anduseTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported fromreact-dom/client:
createRoot: New method to create a root torender orunmount. Use it instead ofReactDOM.render. New features in React 18 don't work without it.
... (truncated)
Commits
6bf3dee Upgrade react-shallow-renderer to support react 18 (#24442)34aa5cf Update local package.jsons for 182e0d86d Allow updating dehydrated root at lower priority without forcing client rende...832e298 Revert accdientally merged PR (#24081)c8e4789 Pass children to hydration root constructor1ad8d81 Remove object-assign polyfill (#23351)1fb0d06 [Devtools][Transition Tracing] Add Transition callbacks to createRoot (#23276)efd8f64 Resolve default onRecoverableError at root init (#23264)0dedfcc Update the exports field (#23257)848e802 Add onRecoverableError option to hydrateRoot, createRoot (#23207)- Additional commits viewable incompare view
Updates@types/react from 17.0.4 to 18.0.10
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumpsreact,react-dom,react-test-renderer and@types/react. These dependencies needed to be updated together.
Updates
reactfrom 17.0.2 to 18.1.0Release notes
Sourced fromreact's releases.
... (truncated)
Changelog
Sourced fromreact's changelog.
... (truncated)
Commits
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)42f15b3[DevTools][Transition Tracing] onTransitionComplete and onTransitionStart imp...Updates
react-domfrom 17.0.2 to 18.1.0Release notes
Sourced fromreact-dom's releases.
... (truncated)
Changelog
Sourced fromreact-dom's changelog.
... (truncated)
Commits
bd4784cRevert#24236 (Don't recreate the same fallback on the client if hydrating su...9ae80d6Suppress hydration warnings when a preceding sibling suspends (#24404)0dc4e66Land enableClientRenderFallbackOnHydrationMismatch (#24410)3547729Land enableSelectiveHydration flag (#24406)392808aLand enableClientRenderFallbackOnTextMismatch flag (#24405)a6d53f3Revert "Clean up Selective Hydration / Event Replay flag (#24156)" (#24402)2bf5ebaexplain the rationale for the chosen escaping implemenation in a comment (#24...d40dc73Escape bootstrapScriptContent for javascript embedding into HTML (#24385)ea7b2ecRemove wrong return pointer warning8dcedbaAdd fallback shim for AbortController (#24285)Updates
react-test-rendererfrom 17.0.2 to 18.1.0Release notes
Sourced fromreact-test-renderer's releases.
... (truncated)
Changelog
Sourced fromreact-test-renderer's changelog.
... (truncated)
Commits
6bf3deeUpgrade react-shallow-renderer to support react 18 (#24442)34aa5cfUpdate local package.jsons for 182e0d86dAllow updating dehydrated root at lower priority without forcing client rende...832e298Revert accdientally merged PR (#24081)c8e4789Pass children to hydration root constructor1ad8d81Remove object-assign polyfill (#23351)1fb0d06[Devtools][Transition Tracing] Add Transition callbacks to createRoot (#23276)efd8f64Resolve default onRecoverableError at root init (#23264)0dedfccUpdate the exports field (#23257)848e802Add onRecoverableError option to hydrateRoot, createRoot (#23207)Updates
@types/reactfrom 17.0.4 to 18.0.10Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)