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

Update react monorepo (major) #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 26, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/react (source) 16.9.17 -> 18.3.3 age adoption passing confidence
eslint-plugin-react-hooks (source) 2.3.0 -> 4.6.2 age adoption passing confidence
react (source) ^16.9.0 -> ^16.9.0 || ^18.0.0 age adoption passing confidence
react (source) 16.12.0 -> 18.3.1 age adoption passing confidence
react-test-renderer (source) 16.12.0 -> 18.3.1 age adoption passing confidence

Release Notes

facebook/react (eslint-plugin-react-hooks)

v4.6.2

Compare Source

v4.6.1

Compare Source

v4.6.0

v4.5.0

v4.4.0

  • No changes, this was an automated release together with React 18.

v4.3.0

v4.2.0

  • No changes, this was an automated release together with React 17.

v4.1.2

v4.1.1

v4.1.0

v4.0.8

v4.0.7

v4.0.6

v4.0.5

v4.0.4

v4.0.3

  • Remove the heuristic that checks all Hooks ending with Effect due to too many false positives. (@​gaearon in #​19004)

v4.0.2

v4.0.1

v4.0.0

v3.0.0

v2.5.0

v2.4.0

facebook/react (react)

v18.3.1

Compare Source

v18.3.0

Compare Source

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)
facebook/react (react-test-renderer)

v18.3.1

Compare Source

v18.3.0

Compare Source

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 - 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 from 5c466ee to b66250f Compare May 7, 2020 09:58
@renovate renovate bot changed the title Update dependency eslint-plugin-react-hooks to v3 Update dependency eslint-plugin-react-hooks to v4 May 7, 2020
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from b66250f to b9302c8 Compare May 15, 2020 14:57
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from b9302c8 to 1e618a5 Compare July 2, 2020 05:51
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 1e618a5 to 0c5cb03 Compare July 10, 2020 09:52
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 0c5cb03 to 1327495 Compare August 21, 2020 02:02
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 1327495 to ce9d676 Compare October 27, 2020 16:01
@renovate renovate bot changed the title Update dependency eslint-plugin-react-hooks to v4 Update react monorepo (major) Oct 27, 2020
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from ce9d676 to 2c77dbf Compare April 26, 2021 14:00
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 2c77dbf to 7fbeab4 Compare March 7, 2022 08:03
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 7fbeab4 to 7fb1a10 Compare April 24, 2022 22:25
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 7fb1a10 to 38cca39 Compare May 15, 2022 22:57
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 38cca39 to 04d629b Compare June 18, 2022 22:30
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 04d629b to 3f2c674 Compare September 25, 2022 19:12
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 3f2c674 to 800cb5e Compare October 30, 2022 19:21
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 800cb5e to c567558 Compare March 17, 2023 07:53
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 7b10bfb to 4d1a0a5 Compare March 29, 2023 19:29
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 4d1a0a5 to 8b2adb1 Compare April 3, 2023 10:46
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from b93f426 to 3f964fe Compare April 17, 2023 17:32
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 98de509 to b10077b Compare June 1, 2023 21:16
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from 7b78a9b to ea6d5d6 Compare June 12, 2023 19:52
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 2518967 to 43f865d Compare June 23, 2023 19:33
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 92e1962 to 657f941 Compare February 23, 2024 09:56
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from 43b0df5 to fd3e73e Compare March 4, 2024 19:52
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from cf35174 to 91c6832 Compare March 12, 2024 03:58
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 682b520 to cb41122 Compare March 18, 2024 14:47
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 5 times, most recently from f970099 to 847832c Compare March 27, 2024 18:43
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 72b213a to 349451c Compare April 8, 2024 22:59
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from a130158 to d917a50 Compare April 15, 2024 23:27
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from 881801c to 171dfd2 Compare April 26, 2024 22:20
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 171dfd2 to 986b3ee Compare May 11, 2024 13:20
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 986b3ee to c312402 Compare May 23, 2024 22:47
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