Skip to content

chore(deps): Bump react and @types/react#12

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-e2615a3a50
Closed

chore(deps): Bump react and @types/react#12
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-e2615a3a50

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 22, 2026

Bumps react and @types/react. These dependencies needed to be updated together.
Updates react from 18.3.1 to 19.2.6

Release notes

Sourced from react's releases.

19.2.6 (May 6th, 2026)

React Server Components

19.2.5 (April 8th, 2026)

React Server Components

19.2.4 (January 26th, 2026)

React Server Components

19.2.3 (December 11th, 2025)

React Server Components

19.2.2 (December 11th, 2025)

React Server Components

19.2.1 (December 3rd, 2025)

React Server Components

19.2.0 (Oct 1, 2025)

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

Read the React 19.2 release post for more information.

New React Features

  • <Activity>: A new API to hide and restore the UI and internal state of its children.
  • useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
  • cacheSignal (for RSCs) lets your know when the cache() lifetime is over.
  • React Performance tracks appear on the Performance panel’s timeline in your browser developer tools

New React DOM Features

  • Added resume APIs for partial pre-rendering with Web Streams:
  • Added resume APIs for partial pre-rendering with Node Streams:

... (truncated)

Changelog

Sourced from react's changelog.

19.2.1 (Dec 3, 2025)

React Server Components

19.2.0 (October 1st, 2025)

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

Read the React 19.2 release post for more information.

New React Features

  • <Activity>: A new API to hide and restore the UI and internal state of its children.
  • useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
  • cacheSignal (for RSCs) lets your know when the cache() lifetime is over.
  • React Performance tracks appear on the Performance panel’s timeline in your browser developer tools

New React DOM Features

  • Added resume APIs for partial pre-rendering with Web Streams:
  • Added resume APIs for partial pre-rendering with Node Streams:
  • Updated prerender APIs to return a postponed state that can be passed to the resume APIs.

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

... (truncated)

Commits

Updates @types/react from 18.3.28 to 19.2.15

Commits

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 22, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-e2615a3a50 branch 2 times, most recently from d1cf9fb to c6dcbce Compare May 22, 2026 13:19
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together.

Updates `react` from 18.3.1 to 19.2.6
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react)

Updates `@types/react` from 18.3.28 to 19.2.15
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.2.15
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: react
  dependency-version: 19.2.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-e2615a3a50 branch from c6dcbce to 26f0fb7 Compare May 22, 2026 13:25
@andresdefi
Copy link
Copy Markdown
Owner

Replaced by manual React 19 migration PR (incomplete: this PR didn't bump react-dom alongside react). See follow-up.

@andresdefi andresdefi closed this May 22, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 22, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/multi-e2615a3a50 branch May 22, 2026 13:27
andresdefi added a commit that referenced this pull request May 22, 2026
Bumps react + react-dom to 19.2.6 (was 18.3.1), @types/react to 19.2.x,
@types/react-dom to 19.2.x, and @vitejs/plugin-react to 6.0.2 (was 4.7;
v6 dropped React 18 support so this bump is gated on React 19).

Replaces Dependabot PR #12 (which left react-dom at 18 — version-major
mismatch with react@19 — Dependabot grouping bug) and PR #14
(blocked on React 19).

Verified peer-dep coverage before migrating:
  - @tiptap/react 3.23.4 declares react ^17 || ^18 || ^19
  - zustand 4.5.7 declares react >=16.8 (open-ended)
  - modern-screenshot has no React peer dep (DOM utility)
  - @vitejs/plugin-react v4 had no React peer dep at all

Three small code changes the React 19 type changes required:

- ColorPickerPopover triggerRef widened from `RefObject<HTMLElement>`
  to `RefObject<HTMLElement | null>`. React 19 made `RefObject<T>`
  invariant in T, so the callers (ColorPicker, RichTextEditor) that
  pass `useRef<HTMLButtonElement>(null)` no longer narrow.
- src/client/components/Sidebar/Elements/RootView.tsx adds
  `import type { JSX } from 'react'`. The global JSX namespace was
  removed in React 19's types.
- Same JSX import added to Sidebar/Elements/utils.ts.

Verified locally:
  - pnpm typecheck clean across all 3 packages
  - pnpm test 534/534 passing
  - pnpm build succeeds (web-preview bundle ~10% larger from React 19's
    runtime baseline, expected)
  - pnpm audit clean
  - Manual browser smoke test: text editing, color picker (exercises
    triggerRef fix), Elements tab (exercises JSX import fix), drag
    interactions — no warnings or errors in devtools.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
andresdefi added a commit that referenced this pull request May 22, 2026
Bumps react + react-dom to 19.2.6 (was 18.3.1), @types/react to 19.2.x,
@types/react-dom to 19.2.x, and @vitejs/plugin-react to 6.0.2 (was 4.7;
v6 dropped React 18 support so this bump is gated on React 19).

Replaces Dependabot PR #12 (which left react-dom at 18 — version-major
mismatch with react@19 — Dependabot grouping bug) and PR #14
(blocked on React 19).

Verified peer-dep coverage before migrating:
  - @tiptap/react 3.23.4 declares react ^17 || ^18 || ^19
  - zustand 4.5.7 declares react >=16.8 (open-ended)
  - modern-screenshot has no React peer dep (DOM utility)
  - @vitejs/plugin-react v4 had no React peer dep at all

Three small code changes the React 19 type changes required:

- ColorPickerPopover triggerRef widened from `RefObject<HTMLElement>`
  to `RefObject<HTMLElement | null>`. React 19 made `RefObject<T>`
  invariant in T, so the callers (ColorPicker, RichTextEditor) that
  pass `useRef<HTMLButtonElement>(null)` no longer narrow.
- src/client/components/Sidebar/Elements/RootView.tsx adds
  `import type { JSX } from 'react'`. The global JSX namespace was
  removed in React 19's types.
- Same JSX import added to Sidebar/Elements/utils.ts.

Verified locally:
  - pnpm typecheck clean across all 3 packages
  - pnpm test 534/534 passing
  - pnpm build succeeds (web-preview bundle ~10% larger from React 19's
    runtime baseline, expected)
  - pnpm audit clean
  - Manual browser smoke test: text editing, color picker (exercises
    triggerRef fix), Elements tab (exercises JSX import fix), drag
    interactions — no warnings or errors in devtools.

Co-authored-by: andresdefi <andresdefi@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant