Skip to content
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

chore(react): relax React peer dep for now - use >=18 #125

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

bowheart
Copy link
Collaborator

@bowheart bowheart commented Oct 13, 2024

Description

Zedux doesn't actually require React v19, it just has a memory leak vulnerability in useAtomSelector in older versions when unstable function references are passed.

Since there are valid workarounds for React 18, we shouldn't require v19 in our peer dep. For now anyway.

See this discussion

@bowheart bowheart merged commit b1276cb into master Oct 13, 2024
2 checks passed
@bowheart bowheart deleted the josh/relax-react-peer-dep branch October 13, 2024 19:56
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.

1 participant