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

Feature/fix refs usage #7487

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

DanielSegal1
Copy link

fixing #7406
In short, I changed most of hook relying on refs to use the ref callback instead.
this fixes issues described thoroughly at #7406 , such as hooks not working when the ref is changed.

Strictly speaking, this is a breaking change because it changes the return value of the hooks to RefCallback instead of RefObject.
Also this is my first time contributint to open source so I may have missed steps (?)
(I'm not sure if I'm suppposed to bump the version or not etc.)

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