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

fix: bug with useContext/useSyncExternalStore (#609) #621

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

msdlisper
Copy link
Contributor

@msdlisper msdlisper commented Oct 28, 2023

Summary

fix #609

I tried to solve this problem by looking at the source code for the eslint-plugin-reacts-hooks plugin, Seems to really don't need to check useContext/useSyncExternalStore/useId :
https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

@github-actions github-actions bot added A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages labels Oct 28, 2023
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Thank you!

@ematipico ematipico merged commit 00231cc into biomejs:main Oct 30, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 useExhaustiveDependencies: bug with useContext/useSyncExternalStore and dependency arrays?
2 participants