Skip to content

feat: Update peerDependencies to include React 19 #651

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

michal-worwag
Copy link
Contributor

Add React 19 to peerDependencies

Copy link

changeset-bot bot commented Nov 4, 2024

🦋 Changeset detected

Latest commit: b78a9f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
usehooks-ts Patch
www Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@felipedeboni
Copy link

Since React 19 is stable is it going to be merged? Is is actively maintained?

@J4v4Scr1pt
Copy link

Is this going to be focused on soon?

@lasseklovstad
Copy link

@juliencrn alot of apps waiting to upgrade to React 19 depend on this library. Can this be prioritized?

@Arsenalist
Copy link

Upvoted this as this is preventing anyone using this library to upgrade to NextJS 15 which requires React 19 as a peer dependency.

@felipedeboni
Copy link

felipedeboni commented Dec 18, 2024

Given the current state of this repository I’ve forked it and published my own version. Some dependencies are updated and had to do some minor changes to align with the latest behavior of useRef (which requires an argument).

You can review the changes here: a1af647d5a41d820cb0863ef7bb54681e806173c.

Feel free to replace usehooks-ts with @undefined/usehooks-ts in your project. This version is compatible with React 19.

If you encounter any issues, feel free to open a pull request, and I’ll take a look when I have some time.

Copy link
Owner

@juliencrn juliencrn left a comment

Choose a reason for hiding this comment

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

Thanks @michal-worwag.

Apologies y'all for the delay 🙈

@juliencrn juliencrn merged commit b1dffb9 into juliencrn:master Feb 5, 2025
2 checks passed
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.

6 participants