-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.x] Update react-is to v18.2 (main) (#204237) #208609
Merged
kibanamachine
merged 1 commit into
elastic:8.x
from
kibanamachine:backport/8.x/pr-204237
Jan 28, 2025
Merged
[8.x] Update react-is to v18.2 (main) (#204237) #208609
kibanamachine
merged 1 commit into
elastic:8.x
from
kibanamachine:backport/8.x/pr-204237
Jan 28, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/react-is](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-is)) | devDependencies | major | [`^17.0.3` -> `~18.2.0`](https://renovatebot.com/diffs/npm/@types%2freact-is/17.0.3/18.2.0) | | [react-is](https://react.dev/) ([source](https://github.com/facebook/react/tree/HEAD/packages/react-is)) | devDependencies | major | [`^17.0.2` -> `~18.2.0`](https://renovatebot.com/diffs/npm/react-is/17.0.2/18.2.4) | --- ### Release Notes <details> <summary>facebook/react (react-is)</summary> ### [`v18.2.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1820-June-14-2022) [Compare Source](https://github.com/facebook/react/compare/v18.1.0...v18.2.0) ##### React DOM - Provide a component stack as a second argument to `onRecoverableError`. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24591](https://github.com/facebook/react/pull/24591)) - Fix hydrating into `document` causing a blank page on mismatch. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24523](https://github.com/facebook/react/pull/24523)) - Fix false positive hydration errors with Suspense. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24480](https://github.com/facebook/react/pull/24480) and [@&elastic#8203;acdlite](https://github.com/acdlite) in [#&elastic#8203;24532](https://github.com/facebook/react/pull/24532)) - Fix ignored `setState` in Safari when adding an iframe. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24459](https://github.com/facebook/react/pull/24459)) ##### React DOM Server - Pass information about server errors to the client. ([@&elastic#8203;salazarm](https://github.com/salazarm) and [@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24551](https://github.com/facebook/react/pull/24551) and [#&elastic#8203;24591](https://github.com/facebook/react/pull/24591)) - Allow to provide a reason when aborting the HTML stream. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24680](https://github.com/facebook/react/pull/24680)) - Eliminate extraneous text separators in the HTML where possible. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24630](https://github.com/facebook/react/pull/24630)) - Disallow complex children inside `<title>` elements to match the browser constraints. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24679](https://github.com/facebook/react/pull/24679)) - Fix buffering in some worker environments by explicitly setting `highWaterMark` to `0`. ([@&elastic#8203;jplhomer](https://github.com/jplhomer) in [#&elastic#8203;24641](https://github.com/facebook/react/pull/24641)) ##### Server Components (Experimental) - Add support for `useId()` inside Server Components. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24172](https://github.com/facebook/react/pull/24172)) ### [`v18.1.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1810-April-26-2022) [Compare Source](https://github.com/facebook/react/compare/v18.0.0...v18.1.0) ##### React DOM - Fix the false positive warning about `react-dom/client` when using UMD bundle. ([@&elastic#8203;alireza-molaee](https://github.com/alireza-molaee) in [#&elastic#8203;24274](https://github.com/facebook/react/pull/24274)) - Fix `suppressHydrationWarning` to work in production too. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24271](https://github.com/facebook/react/pull/24271)) - Fix `componentWillUnmount` firing twice inside of Suspense. ([@&elastic#8203;acdlite](https://github.com/acdlite) in [#&elastic#8203;24308](https://github.com/facebook/react/pull/24308)) - Fix some transition updates being ignored. ([@&elastic#8203;acdlite](https://github.com/acdlite) in [#&elastic#8203;24353](https://github.com/facebook/react/pull/24353)) - Fix `useDeferredValue` causing an infinite loop when passed an unmemoized value. ([@&elastic#8203;acdlite](https://github.com/acdlite) in [#&elastic#8203;24247](https://github.com/facebook/react/pull/24247)) - Fix throttling of revealing Suspense fallbacks. ([@&elastic#8203;sunderls](https://github.com/sunderls) in [#&elastic#8203;24253](https://github.com/facebook/react/pull/24253)) - Fix an inconsistency in whether the props object is the same between renders. ([@&elastic#8203;Andarist](https://github.com/Andarist) and [@&elastic#8203;acdlite](https://github.com/acdlite) in [#&elastic#8203;24421](https://github.com/facebook/react/pull/24421)) - Fix a missing warning about a `setState` loop in `useEffect`. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24298](https://github.com/facebook/react/pull/24298)) - Fix a spurious hydration error. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24404](https://github.com/facebook/react/pull/24404)) - Warn when calling `setState` in `useInsertionEffect`. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24295](https://github.com/facebook/react/pull/24295)) - Ensure the reason for hydration errors is always displayed. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24276](https://github.com/facebook/react/pull/24276)) ##### React DOM Server - Fix escaping for the `bootstrapScriptContent` contents. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24385](https://github.com/facebook/react/pull/24385)) - Significantly improve performance of `renderToPipeableStream`. ([@&elastic#8203;gnoff](https://github.com/gnoff) in [#&elastic#8203;24291](https://github.com/facebook/react/pull/24291)) ##### ESLint Plugin: React Hooks - Fix false positive errors with a large number of branches. ([@&elastic#8203;scyron6](https://github.com/scyron6) in [#&elastic#8203;24287](https://github.com/facebook/react/pull/24287)) - Don't consider a known dependency stable when the variable is reassigned. ([@&elastic#8203;afzalsayed96](https://github.com/afzalsayed96) in [#&elastic#8203;24343](https://github.com/facebook/react/pull/24343)) ##### Use Subscription - Replace the implementation with the `use-sync-external-store` shim. ([@&elastic#8203;gaearon](https://github.com/gaearon) in [#&elastic#8203;24289](https://github.com/facebook/react/pull/24289)) ### [`v18.0.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1800-March-29-2022) [Compare Source](https://github.com/facebook/react/compare/v17.0.2...v18.0.0) Below is a list of all new features, APIs, deprecations, and breaking changes. Read [React 18 release post](https://reactjs.org/blog/2022/03/29/react-v18.html) and [React 18 upgrade guide](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html) for more information. ##### New Features ##### React - `useId` is a new hook for generating unique IDs on both the client and s </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlZpc3VhbGl6YXRpb25zIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: nickofthyme <nicholas.partridge@elastic.co> (cherry picked from commit 21df1e8)
1 task
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport
This will backport the following commits from
main
to8.x
:Questions ?
Please refer to the Backport tool documentation
If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR has been generated by [Renovate\r\nBot](https://github.com/renovatebot/renovate).\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by: nickofthyme ","sha":"21df1e8b0bf2fa1ac0ffb0d7672efe00176a2add","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Update react-is to v18.2 (main)","number":204237,"url":"https://github.com//pull/204237","mergeCommit":{"message":"Update react-is to v18.2 (main) (#204237)\n\nThis PR contains the following updates:\r\n\r\n| Package | Type | Update | Change |\r\n|---|---|---|---|\r\n|\r\n[@types/react-is](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is)\r\n([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-is))\r\n| devDependencies | major | [`^17.0.3` ->\r\n`~18.2.0`](https://renovatebot.com/diffs/npm/@types%2freact-is/17.0.3/18.2.0)\r\n|\r\n| [react-is](https://react.dev/)\r\n([source](https://github.com/facebook/react/tree/HEAD/packages/react-is))\r\n| devDependencies | major | [`^17.0.2` ->\r\n`~18.2.0`](https://renovatebot.com/diffs/npm/react-is/17.0.2/18.2.4) |\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\nfacebook/react (react-is)
\r\n\r\n###\r\n[`v18.2.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1820-June-14-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v18.1.0...v18.2.0)\r\n\r\n##### React DOM\r\n\r\n- Provide a component stack as a second argument to\r\n`onRecoverableError`. ([@gnoff](https://github.com/gnoff) in\r\n[#24591](https://github.com/facebook/react/pull/24591))\r\n- Fix hydrating into `document` causing a blank page on mismatch.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24523](https://github.com/facebook/react/pull/24523))\r\n- Fix false positive hydration errors with Suspense.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24480](https://github.com/facebook/react/pull/24480) and\r\n[@acdlite](https://github.com/acdlite) in\r\n[#24532](https://github.com/facebook/react/pull/24532))\r\n- Fix ignored `setState` in Safari when adding an iframe.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24459](https://github.com/facebook/react/pull/24459))\r\n\r\n##### React DOM Server\r\n\r\n- Pass information about server errors to the client.\r\n([@salazarm](https://github.com/salazarm) and\r\n[@gnoff](https://github.com/gnoff) in\r\n[#24551](https://github.com/facebook/react/pull/24551) and\r\n[#24591](https://github.com/facebook/react/pull/24591))\r\n- Allow to provide a reason when aborting the HTML stream.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24680](https://github.com/facebook/react/pull/24680))\r\n- Eliminate extraneous text separators in the HTML where possible.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24630](https://github.com/facebook/react/pull/24630))\r\n- Disallow complex children inside `<title>` elements to match the\r\nbrowser constraints. ([@gnoff](https://github.com/gnoff) in\r\n[#24679](https://github.com/facebook/react/pull/24679))\r\n- Fix buffering in some worker environments by explicitly setting\r\n`highWaterMark` to `0`.\r\n([@jplhomer](https://github.com/jplhomer) in\r\n[#24641](https://github.com/facebook/react/pull/24641))\r\n\r\n##### Server Components (Experimental)\r\n\r\n- Add support for `useId()` inside Server Components.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24172](https://github.com/facebook/react/pull/24172))\r\n\r\n###\r\n[`v18.1.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1810-April-26-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v18.0.0...v18.1.0)\r\n\r\n##### React DOM\r\n\r\n- Fix the false positive warning about `react-dom/client` when using UMD\r\nbundle. ([@alireza-molaee](https://github.com/alireza-molaee)\r\nin [#24274](https://github.com/facebook/react/pull/24274))\r\n- Fix `suppressHydrationWarning` to work in production too.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24271](https://github.com/facebook/react/pull/24271))\r\n- Fix `componentWillUnmount` firing twice inside of Suspense.\r\n([@acdlite](https://github.com/acdlite) in\r\n[#24308](https://github.com/facebook/react/pull/24308))\r\n- Fix some transition updates being ignored.\r\n([@acdlite](https://github.com/acdlite) in\r\n[#24353](https://github.com/facebook/react/pull/24353))\r\n- Fix `useDeferredValue` causing an infinite loop when passed an\r\nunmemoized value. ([@acdlite](https://github.com/acdlite) in\r\n[#24247](https://github.com/facebook/react/pull/24247))\r\n- Fix throttling of revealing Suspense fallbacks.\r\n([@sunderls](https://github.com/sunderls) in\r\n[#24253](https://github.com/facebook/react/pull/24253))\r\n- Fix an inconsistency in whether the props object is the same between\r\nrenders. ([@Andarist](https://github.com/Andarist) and\r\n[@acdlite](https://github.com/acdlite) in\r\n[#24421](https://github.com/facebook/react/pull/24421))\r\n- Fix a missing warning about a `setState` loop in `useEffect`.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24298](https://github.com/facebook/react/pull/24298))\r\n- Fix a spurious hydration error.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24404](https://github.com/facebook/react/pull/24404))\r\n- Warn when calling `setState` in `useInsertionEffect`.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24295](https://github.com/facebook/react/pull/24295))\r\n- Ensure the reason for hydration errors is always displayed.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24276](https://github.com/facebook/react/pull/24276))\r\n\r\n##### React DOM Server\r\n\r\n- Fix escaping for the `bootstrapScriptContent` contents.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24385](https://github.com/facebook/react/pull/24385))\r\n- Significantly improve performance of `renderToPipeableStream`.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24291](https://github.com/facebook/react/pull/24291))\r\n\r\n##### ESLint Plugin: React Hooks\r\n\r\n- Fix false positive errors with a large number of branches.\r\n([@scyron6](https://github.com/scyron6) in\r\n[#24287](https://github.com/facebook/react/pull/24287))\r\n- Don't consider a known dependency stable when the variable is\r\nreassigned. ([@afzalsayed96](https://github.com/afzalsayed96)\r\nin [#24343](https://github.com/facebook/react/pull/24343))\r\n\r\n##### Use Subscription\r\n\r\n- Replace the implementation with the `use-sync-external-store` shim.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24289](https://github.com/facebook/react/pull/24289))\r\n\r\n###\r\n[`v18.0.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1800-March-29-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v17.0.2...v18.0.0)\r\n\r\nBelow is a list of all new features, APIs, deprecations, and breaking\r\nchanges.\r\nRead [React 18 release\r\npost](https://reactjs.org/blog/2022/03/29/react-v18.html) and [React 18\r\nupgrade\r\nguide](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html)\r\nfor more information.\r\n\r\n##### New Features\r\n\r\n##### React\r\n\r\n- `useId` is a new hook for generating unique IDs on both the client and\r\ns\r\n\r\nfacebook/react (react-is)
\r\n\r\n###\r\n[`v18.2.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1820-June-14-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v18.1.0...v18.2.0)\r\n\r\n##### React DOM\r\n\r\n- Provide a component stack as a second argument to\r\n`onRecoverableError`. ([@gnoff](https://github.com/gnoff) in\r\n[#24591](https://github.com/facebook/react/pull/24591))\r\n- Fix hydrating into `document` causing a blank page on mismatch.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24523](https://github.com/facebook/react/pull/24523))\r\n- Fix false positive hydration errors with Suspense.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24480](https://github.com/facebook/react/pull/24480) and\r\n[@acdlite](https://github.com/acdlite) in\r\n[#24532](https://github.com/facebook/react/pull/24532))\r\n- Fix ignored `setState` in Safari when adding an iframe.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24459](https://github.com/facebook/react/pull/24459))\r\n\r\n##### React DOM Server\r\n\r\n- Pass information about server errors to the client.\r\n([@salazarm](https://github.com/salazarm) and\r\n[@gnoff](https://github.com/gnoff) in\r\n[#24551](https://github.com/facebook/react/pull/24551) and\r\n[#24591](https://github.com/facebook/react/pull/24591))\r\n- Allow to provide a reason when aborting the HTML stream.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24680](https://github.com/facebook/react/pull/24680))\r\n- Eliminate extraneous text separators in the HTML where possible.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24630](https://github.com/facebook/react/pull/24630))\r\n- Disallow complex children inside `<title>` elements to match the\r\nbrowser constraints. ([@gnoff](https://github.com/gnoff) in\r\n[#24679](https://github.com/facebook/react/pull/24679))\r\n- Fix buffering in some worker environments by explicitly setting\r\n`highWaterMark` to `0`.\r\n([@jplhomer](https://github.com/jplhomer) in\r\n[#24641](https://github.com/facebook/react/pull/24641))\r\n\r\n##### Server Components (Experimental)\r\n\r\n- Add support for `useId()` inside Server Components.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24172](https://github.com/facebook/react/pull/24172))\r\n\r\n###\r\n[`v18.1.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1810-April-26-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v18.0.0...v18.1.0)\r\n\r\n##### React DOM\r\n\r\n- Fix the false positive warning about `react-dom/client` when using UMD\r\nbundle. ([@alireza-molaee](https://github.com/alireza-molaee)\r\nin [#24274](https://github.com/facebook/react/pull/24274))\r\n- Fix `suppressHydrationWarning` to work in production too.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24271](https://github.com/facebook/react/pull/24271))\r\n- Fix `componentWillUnmount` firing twice inside of Suspense.\r\n([@acdlite](https://github.com/acdlite) in\r\n[#24308](https://github.com/facebook/react/pull/24308))\r\n- Fix some transition updates being ignored.\r\n([@acdlite](https://github.com/acdlite) in\r\n[#24353](https://github.com/facebook/react/pull/24353))\r\n- Fix `useDeferredValue` causing an infinite loop when passed an\r\nunmemoized value. ([@acdlite](https://github.com/acdlite) in\r\n[#24247](https://github.com/facebook/react/pull/24247))\r\n- Fix throttling of revealing Suspense fallbacks.\r\n([@sunderls](https://github.com/sunderls) in\r\n[#24253](https://github.com/facebook/react/pull/24253))\r\n- Fix an inconsistency in whether the props object is the same between\r\nrenders. ([@Andarist](https://github.com/Andarist) and\r\n[@acdlite](https://github.com/acdlite) in\r\n[#24421](https://github.com/facebook/react/pull/24421))\r\n- Fix a missing warning about a `setState` loop in `useEffect`.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24298](https://github.com/facebook/react/pull/24298))\r\n- Fix a spurious hydration error.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24404](https://github.com/facebook/react/pull/24404))\r\n- Warn when calling `setState` in `useInsertionEffect`.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24295](https://github.com/facebook/react/pull/24295))\r\n- Ensure the reason for hydration errors is always displayed.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24276](https://github.com/facebook/react/pull/24276))\r\n\r\n##### React DOM Server\r\n\r\n- Fix escaping for the `bootstrapScriptContent` contents.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24385](https://github.com/facebook/react/pull/24385))\r\n- Significantly improve performance of `renderToPipeableStream`.\r\n([@gnoff](https://github.com/gnoff) in\r\n[#24291](https://github.com/facebook/react/pull/24291))\r\n\r\n##### ESLint Plugin: React Hooks\r\n\r\n- Fix false positive errors with a large number of branches.\r\n([@scyron6](https://github.com/scyron6) in\r\n[#24287](https://github.com/facebook/react/pull/24287))\r\n- Don't consider a known dependency stable when the variable is\r\nreassigned. ([@afzalsayed96](https://github.com/afzalsayed96)\r\nin [#24343](https://github.com/facebook/react/pull/24343))\r\n\r\n##### Use Subscription\r\n\r\n- Replace the implementation with the `use-sync-external-store` shim.\r\n([@gaearon](https://github.com/gaearon) in\r\n[#24289](https://github.com/facebook/react/pull/24289))\r\n\r\n###\r\n[`v18.0.0`](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md#1800-March-29-2022)\r\n\r\n[Compare\r\nSource](https://github.com/facebook/react/compare/v17.0.2...v18.0.0)\r\n\r\nBelow is a list of all new features, APIs, deprecations, and breaking\r\nchanges.\r\nRead [React 18 release\r\npost](https://reactjs.org/blog/2022/03/29/react-v18.html) and [React 18\r\nupgrade\r\nguide](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html)\r\nfor more information.\r\n\r\n##### New Features\r\n\r\n##### React\r\n\r\n- `useId` is a new hook for generating unique IDs on both the client and\r\ns\r\n\r\n