-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block bindings: Fix useSelect hook returns different values, being same objects with different references. #65245
Conversation
Size Change: -17 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
The 'useSelect' hook returns different values when called with the same state and parameters.
The 'useSelect' hook returns different values when called with the same state and parameters.
If I am not mistaken, not including I've made a commit in the original pull request that I believe addresses this issue. Repro of the mentioned problem with this code:
With the code from this pull request useSelect.PR.mp4With the code from the commit in the original PR useSelect.commit.mp4 |
Let's close it in favor on just using the empty object const. |
What?
Remove useSelect warning, as commented in #64072 (review)
Leaving it as a draft, as still I don't know if I'm messing this solution.