Skip to content

Cursor react 19 support#101

Draft
glebedel wants to merge 1 commit intomainfrom
cursor/cursor-react-19-support-3cfc
Draft

Cursor react 19 support#101
glebedel wants to merge 1 commit intomainfrom
cursor/cursor-react-19-support-3cfc

Conversation

@glebedel
Copy link
Copy Markdown
Contributor

Update peerDependencies to support React 19+.

The library's peerDependencies were strictly pinned to React 18.3.1, causing compatibility issues and warnings when used in projects with React 19+. This change broadens the supported React versions to include React 19, as all internal dependencies and the codebase itself are compatible.


Slack Thread

Open in Cursor Open in Web

- Update react peer dependency from pinned 18.3.1 to ^18.3.1 || ^19.0.0
- Update react-dom peer dependency from pinned 18.3.1 to ^18.3.1 || ^19.0.0
- Update react-hook-form peer dependency from pinned 7.60.0 to ^7.60.0

All dependencies already support React 19:
- @tanstack/react-query: ^18 || ^19
- use-deep-compare-effect: >=16.13
- react-hook-form: ^16.8.0 || ^17 || ^18 || ^19

No deprecated React APIs (ReactDOM.render, findDOMNode, etc.) are used
in the codebase, ensuring full compatibility with React 19.

Co-authored-by: guillaume <guillaume@stackone.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Jan 29, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants