Skip to content

feat: React SDK - upgrade react to version 19.2.x#194

Merged
mrudatsprint merged 4 commits into
mainfrom
miker/ENG-4673/react-19
Jun 22, 2026
Merged

feat: React SDK - upgrade react to version 19.2.x#194
mrudatsprint merged 4 commits into
mainfrom
miker/ENG-4673/react-19

Conversation

@mrudatsprint

@mrudatsprint mrudatsprint commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Issue:

Description:

upgrade react to version 19.2.x

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the React SDK workspace’s development/test toolchain to React 19.2.x, updates associated React type packages, and records the change in the SDK changelog. It also includes a small TypeScript ref initialization tweak to align with the newer React type definitions.

Changes:

  • Bump @fusionauth/react-sdk version to 2.6.0 and update devDependencies to react/react-dom ^19.2.0 plus @types/react/@types/react-dom ^19.2.0.
  • Upgrade React Testing Library to @testing-library/react ^16.3.0 and add @testing-library/dom ^10.4.0 (now a peer dependency for RTL v16+).
  • Update FusionAuthProvider ref initialization to be explicit under the newer React typings and update yarn.lock accordingly.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
yarn.lock Locks updated React 19.2.7, Scheduler 0.27.0, RTL 16.3.2, and related transitive deps/types.
packages/sdk-react/src/components/providers/FusionAuthProvider.tsx Adjusts useRef initialization for React 19 type compatibility.
packages/sdk-react/package.json Bumps SDK version and updates React/testing/type devDependencies.
packages/sdk-react/CHANGES.md Documents the React 19 upgrade and compatibility note.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrudatsprint mrudatsprint changed the title feat: React SDK - upgrade react to version 19.2.7 feat: React SDK - upgrade react to version 19.2.x Jun 17, 2026
@mrudatsprint mrudatsprint marked this pull request as ready for review June 17, 2026 22:18
@lyleschemmerling lyleschemmerling self-requested a review June 22, 2026 15:19

@lyleschemmerling lyleschemmerling left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mrudatsprint mrudatsprint merged commit bb4ef2e into main Jun 22, 2026
4 checks passed
@mrudatsprint mrudatsprint deleted the miker/ENG-4673/react-19 branch June 22, 2026 15:58
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.

3 participants