Skip to content
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

chore(deps): update react monorepo to v18 (major) - autoclosed #5487

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/react-dom (source) ^16.9.24 -> ^18.2.22 age adoption passing confidence
react (source) ^16.14.0 -> ^18.2.0 age adoption passing confidence
react-dom (source) ^16.14.0 -> ^18.2.0 age adoption passing confidence
react-test-renderer (source) ^16.14.0 -> ^18.2.0 age adoption passing confidence

Release Notes

facebook/react (react)

v18.2.0

Compare Source

React DOM
React DOM Server
Server Components (Experimental)

v18.1.0

Compare Source

React DOM
React DOM Server
ESLint Plugin: React Hooks
Use Subscription

v18.0.0

Compare Source

Below is a list of all new features, APIs, deprecations, and breaking changes.
Read React 18 release post and React 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 and useTransition 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 for useEffect 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 from react-dom/client:

  • createRoot: New method to create a root to render or unmount. Use it instead of ReactDOM.render. New features in React 18 don't work without it.
  • hydrateRoot: New method to hydrate a server rendered application. Use it instead of ReactDOM.hydrate in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.

Both createRoot and hydrateRoot accept a new option called onRecoverableError in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will use reportError, or console.error in the older browsers.

React DOM Server

These new APIs are now exported from react-dom/server and have full support for streaming Suspense on the server:

  • renderToPipeableStream: for streaming in Node environments.
  • renderToReadableStream: for modern edge runtime environments, such as Deno and Cloudflare workers.

The existing renderToString method keeps working but is discouraged.

v17.0.2

Compare Source

React DOM

v17.0.1

Compare Source

React DOM

v17.0.0

Compare Source

Today, we are releasing React 17!

Learn more about React 17 and how to update to it on the official React blog.

React
React DOM
React DOM Server
React Test Renderer
Concurrent Mode (Experimental)

Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from f040ea9 to 62b4504 Compare October 26, 2020 13:51
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 864d4a5 to c2e54b7 Compare November 2, 2020 20:59
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from c2e54b7 to 5613d7e Compare November 9, 2020 15:44
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 0aba95e to 3bc33c0 Compare November 23, 2020 15:46
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 3bc33c0 to c6be443 Compare November 30, 2020 20:20
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from c6be443 to f74daec Compare December 14, 2020 20:09
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from f74daec to 3a2b52d Compare January 11, 2021 19:36
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 3a2b52d to a2e68fd Compare January 26, 2021 19:37
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 0182196 to 1906700 Compare March 2, 2021 21:51
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 1906700 to 56d63ab Compare March 11, 2021 20:34
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 56d63ab to 8724ead Compare March 23, 2021 00:05
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 8724ead to e0738a4 Compare May 10, 2021 17:55
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 1265c89 to f70036f Compare May 30, 2021 20:11
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 1c7928f to f883e06 Compare August 11, 2021 18:19
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from f883e06 to 9f7d54b Compare February 12, 2022 19:23
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 9f7d54b to 3beaf08 Compare March 4, 2022 05:43
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 3beaf08 to d453868 Compare March 11, 2022 21:30
@renovate renovate bot changed the title chore(deps): update react monorepo to v17 (major) chore(deps): update react monorepo to v18 (major) Mar 29, 2022
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from d453868 to fce85d3 Compare March 29, 2022 18:55
@renovate renovate bot changed the title chore(deps): update react monorepo to v18 (major) chore(deps): update react monorepo (major) Apr 26, 2022
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from fce85d3 to c9f7096 Compare April 26, 2022 20:55
@renovate renovate bot changed the title chore(deps): update react monorepo (major) chore(deps): update react monorepo to v18 (major) Apr 26, 2022
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from c9f7096 to 2c66496 Compare April 26, 2022 23:46
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 2c66496 to 164c355 Compare June 14, 2022 22:37
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 669a4b0 to 1b4dadb Compare May 5, 2023 15:39
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 8cf781c to 03ec9f5 Compare June 15, 2023 05:24
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 03ec9f5 to c8d213e Compare June 19, 2023 13:55
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 2163847 to 94be029 Compare July 17, 2023 05:29
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 94be029 to 7b99775 Compare August 29, 2023 03:01
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 7b99775 to 92fcbab Compare September 27, 2023 10:12
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 5 times, most recently from b646430 to 379f936 Compare October 10, 2023 22:42
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 379f936 to 26034a0 Compare October 18, 2023 19:01
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 26034a0 to 049ae25 Compare November 7, 2023 23:28
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 479c050 to 48d1e0f Compare November 22, 2023 04:59
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 147f2c4 to 5602f60 Compare December 16, 2023 00:23
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 5602f60 to 72d7379 Compare January 29, 2024 05:23
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 72d7379 to 7f087e6 Compare February 7, 2024 18:49
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 459e7a7 to 3930d32 Compare March 7, 2024 01:06
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 3930d32 to 9f03c86 Compare March 13, 2024 13:13
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 9f03c86 to 4a0020b Compare March 17, 2024 05:35
@renovate renovate bot changed the title chore(deps): update react monorepo to v18 (major) chore(deps): update react monorepo to v18 (major) - autoclosed Mar 26, 2024
@renovate renovate bot closed this Mar 26, 2024
@renovate renovate bot deleted the renovate/major-react-monorepo branch March 26, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants