-
Notifications
You must be signed in to change notification settings - Fork 32
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
[BUG] Make v5 React 19 compatible #356
Comments
This PR updates the `react-select` dependency to the latest version which is fully compatible with React 19. It also solves issue csandman#356 Reference: https://github.com/JedWatson/react-select/releases
I'm having the same issue. |
The reason v5 isn't updated to allow React 19 as a peer dependency is actually because Chakra UI v2 isn't marked as compatible with React 19. @fabmont Is Chakra v2 working fine with React 19 for you besides this package? In either case, I'll push a release now that updates the dependency for |
Ok a new version
Actually never mind! I just installed the latest version of Chakra UI v2 and discovered that it actually does allow for React 19! Not only that, but it has for a while haha. It looks like Chakra has always had a peer dep of |
Thank you for the quick response on that @csandman. Everything is working now on React 19, I'll let you know if that will get fixed with this new release! |
Ok, I actually just made one more fix to make this fully compatible with React 19, by updating the peer dependency range. Hopefully this should work for everyone now! Feel free to re-open this issue if anyone is still having trouble with this. |
Description
When I use Chakra React Select V5, I expected this package to be compatible with React 19 but it isn't
The main reason for this issue to happen is because v5 has React Select
5.8.x
as peer dependency and they added the corresponding support since version5.9
[1].It would be awesome to allow this to avoid having to migrate to Chakra v6 to be React 19 compatible (which also involves migrate to Chakra UI v3, a huge refactor).
[1] https://github.com/JedWatson/react-select/releases
chakra-react-select Version
5.0.2
Link to Reproduction
No response
TypeScript?
Operating System
Package Manager
Yarn
Additional Information
Here's a screenshot about the new versions in React Select.
Reference: https://github.com/JedWatson/react-select/releases
The text was updated successfully, but these errors were encountered: