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 (major) #116

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 1, 2020

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/react (source) 16.9.34 -> 18.3.12 age adoption passing confidence
@types/react-dom (source) 16.9.6 -> 18.3.1 age adoption passing confidence
eslint-plugin-react-hooks (source) 2.5.1 -> 5.0.0 age adoption passing confidence
react (source) 16.13.1 -> 18.3.1 age adoption passing confidence
react-dom (source) 16.13.1 -> 18.3.1 age adoption passing confidence

Release Notes

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

v5.0.0

Compare Source

  • New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@​kassens) in #​25162

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

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)

v16.14.0

Compare Source

React
facebook/react (react-dom)

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

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from b26ed29 to 2dc39e7 Compare May 13, 2020 16:52
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 535f95e to 8d53827 Compare May 27, 2020 02:51
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 8d53827 to 8175967 Compare July 2, 2020 04:56
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 8175967 to b201574 Compare July 10, 2020 09:50
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from b201574 to 32927d6 Compare August 25, 2020 05:00
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 32927d6 to 7bd602b Compare October 26, 2020 12:56
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-react-hooks to v4 chore(deps): update react monorepo (major) Oct 26, 2020
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 7bd602b to 42e9208 Compare April 26, 2021 13:11
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 42e9208 to 19830aa Compare March 7, 2022 10:56
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 19830aa to 71b9bf4 Compare April 24, 2022 23:24
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 71b9bf4 to e3a70e0 Compare May 15, 2022 18:49
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from e3a70e0 to 444d0da Compare June 18, 2022 20:23
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 444d0da to 00e3655 Compare March 16, 2023 07:45
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from bed5433 to 9420843 Compare March 29, 2023 19:05
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 9420843 to 76e24f6 Compare April 3, 2023 10:15
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 7c19b5c to 84123cf Compare April 17, 2023 18:56
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 64bfc06 to 7c67390 Compare June 1, 2023 22:32
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 5 times, most recently from a28e36b to b573512 Compare June 12, 2023 22:10
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from b573512 to 1868bad Compare June 19, 2023 16:33
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 5 times, most recently from df9bcbc to 502e2c7 Compare March 28, 2024 19:28
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 3f40f5d to b006760 Compare April 9, 2024 00:40
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from fa431c0 to 5631834 Compare April 15, 2024 23:32
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 4 times, most recently from 603fad8 to 53daea4 Compare April 26, 2024 22:21
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 53daea4 to 30fad0e Compare May 11, 2024 11:04
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 30fad0e to efbb712 Compare May 23, 2024 23:15
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from efbb712 to f9f4cde Compare August 20, 2024 23:33
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from f9f4cde to 764c04c Compare August 30, 2024 11:26
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 3 times, most recently from 97fdc2b to d36d91b Compare September 19, 2024 19:28
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 770439c to e588cd7 Compare September 27, 2024 16:43
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from e588cd7 to 4bcea23 Compare October 2, 2024 17:01
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch 2 times, most recently from 9fd2cfc to 69fa3a1 Compare October 11, 2024 16:00
@renovate renovate bot force-pushed the renovate/major-react-monorepo branch from 69fa3a1 to cbd651a Compare October 23, 2024 08:53
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.

0 participants