Draft
Conversation
- 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 Agent can help with this pull request. Just |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update
peerDependenciesto support React 19+.The library's
peerDependencieswere strictly pinned to React18.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