Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(deps): update react monorepo to v19 (major)#40

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
renovate wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromrenovate/major-react-monorepo

Conversation

@renovate
Copy link
Contributor

@renovaterenovatebot commentedSep 27, 2022
edited
Loading

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeConfidence
@types/react (source)17.0.50 ->19.2.7ageconfidence
react (source)17.0.2 ->19.2.3ageconfidence
react-dom (source)17.0.2 ->19.2.3ageconfidence

Release Notes

facebook/react (react)

v19.2.3: 19.2.3 (December 11th, 2025)

Compare Source

React Server Components

v19.2.2: 19.2.2 (December 11th, 2025)

Compare Source

React Server Components

v19.2.1: 19.2.1 (December 3rd, 2025)

Compare Source

React Server Components

v19.2.0

Compare Source

Below is a list of all new features, APIs, and bug fixes.

Read theReact 19.2 release post for more information.

New React Features
New React DOM Features
Notable changes
  • React DOM now batches suspense boundary reveals, matching the behavior of client side rendering. This change is especially noticeable when animating the reveal of Suspense boundaries e.g. with the upcoming<ViewTransition> Component. React will batch as much reveals as possible before the first paint while trying to hit popular first-contentful paint metrics.
  • Add Node Web Streams (prerender,renderToReadableStream) to server-side-rendering APIs for Node.js
  • Use underscore instead of: IDs generated by useId
All Changes
React
React DOM
React Server Components
React Reconciler

v19.1.4: 19.1.4 (December 11th, 2025)

Compare Source

React Server Components

v19.1.3: 19.1.3 (December 11th, 2025)

Compare Source

React Server Components

v19.1.2: 19.1.2 (December 3rd, 2025)

Compare Source

React Server Components

v19.1.1

Compare Source

React

v19.1.0

Compare Source

Owner Stack

An Owner Stack is a string representing the components that are directly responsible for rendering a particular component. You can log Owner Stacks when debugging or use Owner Stacks to enhance error overlays or other development tools. Owner Stacks are only available in development builds. Component Stacks in production are unchanged.

  • An Owner Stack is a development-only stack trace that helps identify which components are responsible for rendering a particular component. An Owner Stack is distinct from a Component Stacks, which shows the hierarchy of components leading to an error.
  • ThecaptureOwnerStack API is only available in development mode and returns a Owner Stack, if available. The API can be used to enhance error overlays or log component relationships when debugging.#​29923,#​32353,#​30306,
    #​32538,#​32529,#​32538
React
  • Enhanced support for Suspense boundaries to be used anywhere, including the client, server, and during hydration.#​32069,#​32163,#​32224,#​32252
  • Reduced unnecessary client rendering through improved hydration scheduling#​31751
  • Increased priority of client rendered Suspense boundaries#​31776
  • Fixed frozen fallback states by rendering unfinished Suspense boundaries on the client.#​31620
  • Reduced garbage collection pressure by improving Suspense boundary retries.#​31667
  • Fixed erroneous “Waiting for Paint” log when the passive effect phase was not delayed#​31526
  • Fixed a regression causing key warnings for flattened positional children in development mode.#​32117
  • UpdateduseId to use valid CSS selectors, changing format from:r123: to«r123».#​32001
  • Added a dev-only warning for null/undefined created in useEffect, useInsertionEffect, and useLayoutEffect.#​32355
  • Fixed a bug where dev-only methods were exported in production builds. React.act is no longer available in production builds.#​32200
  • Improved consistency across prod and dev to improve compatibility with Google Closure Compiler and bindings#​31808
  • Improve passive effect scheduling for consistent task yielding.#​31785
  • Fixed asserts in React Native when passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent rendering.#​32528
  • Fixed component name resolution for Portal#​32640
  • Added support for beforetoggle and toggle events on the dialog element.#​32479
React DOM
  • Fixed double warning when thehref attribute is an empty string#​31783
  • Fixed an edge case wheregetHoistableRoot() didn’t work properly when the container was a Document#​32321
  • Removed support for using HTML comments (e.g.<!-- -->) as a DOM container.#​32250
  • Added support for<script> and<template> tags to be nested within<select> tags.#​31837
  • Fixed responsive images to be preloaded as HTML instead of headers#​32445
use-sync-external-store
  • Addedexports field topackage.json foruse-sync-external-store to support various entrypoints.#​25231
React Server Components
  • Addedunstable_prerender, a new experimental API for prerendering React Server Components on the server#​31724
  • Fixed an issue where streams would hang when receiving new chunks after a global error#​31840,#​31851
  • Fixed an issue where pending chunks were counted twice.#​31833
  • Added support for streaming in edge environments#​31852
  • Added support for sending custom error names from a server so that they are available in the client for console replaying.#​32116
  • Updated the server component wire format to remove IDs for hints and console.log because they have no return value#​31671
  • ExposedregisterServerReference in client builds to handle server references in different environments.#​32534
  • Added react-server-dom-parcel package which integrates Server Components with theParcel bundler#​31725,#​32132,#​31799,#​32294,#​31741

v19.0.3: 19.0.3 (December 11th, 2025)

Compare Source

React Server Components

v19.0.2: 19.0.2 (December 11th, 2025)

Compare Source

React Server Components

v19.0.1: 19.0.1 (December 3rd, 2025)

Compare Source

React Server Components

v19.0.0

Compare Source

Below is a list of all new features, APIs, deprecations, and breaking changes. ReadReact 19 release post andReact 19 upgrade guide for more information.

Note: To help make the upgrade to React 19 easier, we’ve published a react@​18.3 release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

New Features
React
  • Actions:startTransition can now accept async functions. Functions passed tostartTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects likefetch() in the pending state, and provides support for error handling, and optimistic updates.
  • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a formaction prop to support progressive enhancement in forms.
  • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
  • use: is a new API that allows reading resources in render. In React 19,use accepts a promise or Context. If provided a promise,use will suspend until a value is resolved.use can only be used in render but can be called conditionally.
  • ref as a prop: Refs can now be used as props, removing the need forforwardRef.
  • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.
React DOM Client
  • <form> action prop: Form Actions allow you to manage forms automatically and integrate withuseFormStatus. When a<form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the newrequestFormReset API.
  • <button> and <input> formAction prop: Actions can be passed to theformAction prop to configure form submission behavior. This allows using different Actions depending on the input.
  • useFormStatus: is a new hook that provides the status of the parent<form> action, as if the form was a Context provider. The hook returns the values:pending,data,method, andaction.
  • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the<head> section of the document.
  • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the<head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
  • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
  • Support for preloading resources: React 19 ships withpreinit,preload,prefetchDNS, andpreconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.
React DOM Server
  • Addedprerender andprerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. UnlikerenderToString, they wait for data to load for HTML generation.
React Server Components
  • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. Seedocs for how to support React Server Components.
Deprecations
  • Deprecated:element.ref access: React 19 supports ref as a prop, so we’re deprecatingelement.ref in favor ofelement.props.ref. Accessing will result in a warning.
  • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to@​testing-library/react or@​testing-library/react-native
Breaking Changes

React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to18.3.1, where we've added additional deprecation warnings. Check out theupgrade guide for more details and guidance on codemodding.

React
  • New JSX Transform is now required: We introduceda new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
  • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introducedonUncaughtError andonCaughtError methods tocreateRoot andhydrateRoot to customize this error handling.
  • Removed:propTypes: UsingpropTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
  • Removed:defaultProps for functions: ES6 default parameters can be used in place. Class components continue to supportdefaultProps since there is no ES6 alternative.
  • Removed:contextTypes andgetChildContext: Legacy Context for class components has been removed in favor of thecontextType API.
  • Removed: string refs: Any usage of string refs need to be migrated to ref callbacks.
  • Removed: Module pattern factories: A rarely used pattern that can be migrated to regular functions.
  • Removed:React.createFactory: Now that JSX is broadly supported, allcreateFactory usage can be migrated to JSX components.
  • Removed:react-test-renderer/shallow: This has been a re-export ofreact-shallow-renderer since React 18. If needed, you can continue to use the third-party package directly. We recommend using@​testing-library/react or@​testing-library/react-native instead.
React DOM
  • Removed:react-dom/test-utils: We’ve movedact fromreact-dom/test-utils to react. All other utilities have been removed.
  • Removed:ReactDOM.render,ReactDOM.hydrate: These have been removed in favor of the concurrent equivalents:ReactDOM.createRoot andReactDOM.hydrateRoot.
  • Removed:unmountComponentAtNode: Removed in favor ofroot.unmount().
  • Removed:ReactDOM.findDOMNode: You can replaceReactDOM.findDOMNode with DOM Refs.
Notable Changes
React
  • <Context> as a provider: You can now render<Context> as a provider instead of<Context.Provider>.
  • Cleanup functions for refs: When the component unmounts, React will call the cleanup function returned from the ref callback.
  • useDeferredValue initial value argument: When provided,useDeferredValue will return the initial value for the initial render of a component, then schedule a re-render in the background with thedeferredValue returned.
  • Support for Custom Elements: React 19 now passes all tests onCustom Elements Everywhere.
  • StrictMode changes:useMemo anduseCallback will now reuse the memoized results from the first render, during the second render. Additionally, StrictMode will now double-invoke ref callback functions on initial mount.
  • UMD builds removed: To load React 19 with a script tag, we recommend using an ESM-based CDN such asesm.sh.
React DOM
  • Diffs for hydration errors: In the case of a mismatch, React 19 logs a single error with a diff of the mismatched content.
  • Compatibility with third-party scripts and extensions: React will now force a client re-render to fix up any mismatched content caused by elements inserted by third-party JS.
TypeScript Changes

The most common changes can be codemodded withnpx types-react-codemod@latest preset-19 ./path-to-your-react-ts-files.

  • Removed deprecated TypeScript types:
    • ReactChild (replacement:React.ReactElement | number | string)
    • ReactFragment (replacement:Iterable<React.ReactNode>)
    • ReactNodeArray (replacement:ReadonlyArray<React.ReactNode>)
    • ReactText (replacement:number | string)
    • VoidFunctionComponent (replacement:FunctionComponent)
    • VFC (replacement:FC)
    • Moved toprop-types:Requireable,ValidationMap,Validator,WeakValidationMap
    • Moved tocreate-react-class:ClassicComponentClass,ClassicComponent,ClassicElement,ComponentSpec,Mixin,ReactChildren,ReactHTML,ReactSVG,SFCFactory
  • Disallow implicit return in refs: refs can now accept cleanup functions. When you return something else, we can’t tell if you intentionally returned something not meant to clean up or returned the wrong value. Implicit returns of anything but functions will now error.
  • Require initial argument touseRef: The initial argument is now required to matchuseState,createContext etc
  • Refs are mutable by default: Ref objects returned fromuseRef() are now always mutable instead of sometimes being immutable. This feature was too confusing for users and conflicted with legit cases where refs were managed by React and manually written to.
  • StrictReactElement typing: The props of React elements now default tounknown instead ofany if the element is typed asReactElement
  • JSX namespace in TypeScript: The globalJSX namespace is removed to improve interoperability with other libraries using JSX. Instead, the JSX namespace is available from the React package:import { JSX } from 'react'
  • BetteruseReducer typings: MostuseReducer usage should not require explicit type arguments.
    For example,
    -useReducer<React.Reducer<State, Action>>(reducer)+useReducer(reducer)
    or
    -useReducer<React.Reducer<State, Action>>(reducer)+useReducer<State, Action>(reducer)
All Changes
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 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 was generated byMend Renovate. View therepository job log.

@vercel
Copy link

vercelbot commentedSep 27, 2022
edited
Loading

The latest updates on your projects. Learn more aboutVercel for GitHub.

ProjectDeploymentReviewUpdated (UTC)
supabase-graphql-exampleErrorErrorDec 14, 2025 8:06am

@renovaterenovatebot changed the titleUpdate react monorepo to v18 (major)fix(deps): update react monorepo to v18 (major)Sep 27, 2022
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch frome3525a2 to097d747CompareSeptember 27, 2022 06:41
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from097d747 to1d275a2CompareOctober 1, 2022 01:22
@renovaterenovatebot changed the titlefix(deps): update react monorepo to v18 (major)chore(deps): update react monorepo to v18 (major)Mar 17, 2023
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from1d275a2 to87d6749CompareMarch 17, 2023 07:59
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from87d6749 tof8e2504CompareJune 1, 2023 20:41
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromf8e2504 toea7fc3cCompareJune 7, 2023 21:57
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromea7fc3c tob537e9eCompareJune 10, 2023 09:26
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromb537e9e tod35709bCompareJune 10, 2023 16:09
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromd35709b to893f4a5CompareJune 12, 2023 20:31
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from893f4a5 to0beaab7CompareJune 19, 2023 13:43
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from0beaab7 to412a698CompareJune 23, 2023 19:59
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from412a698 to012dac6CompareJuly 13, 2023 18:52
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from012dac6 tob81bf22CompareJuly 25, 2023 01:31
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromb81bf22 toea085e0CompareJuly 26, 2023 18:04
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromdea7125 toa458680CompareAugust 27, 2025 19:46
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch froma458680 toa75b931CompareSeptember 13, 2025 22:52
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch froma75b931 to4ac6747CompareSeptember 26, 2025 22:14
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from4ac6747 to18aa864CompareSeptember 28, 2025 12:59
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from18aa864 toedc4de4CompareSeptember 30, 2025 08:26
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch fromedc4de4 to064f43bCompareOctober 1, 2025 21:28
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from064f43b to309ee48CompareOctober 2, 2025 01:23
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from309ee48 to3424bb4CompareOctober 6, 2025 22:00
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from3424bb4 to03cf253CompareOctober 7, 2025 11:31
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from03cf253 toe6b56a2CompareNovember 11, 2025 17:41
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch frome6b56a2 to27553b7CompareNovember 19, 2025 07:53
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch from27553b7 toe00cccfCompareNovember 24, 2025 10:34
@renovaterenovatebotforce-pushed therenovate/major-react-monorepo branch frome00cccf to606de73CompareDecember 5, 2025 16:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants


[8]ページ先頭

©2009-2025 Movatter.jp