Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Conversation

@rmorshea
Copy link
Contributor

@rmorshea rmorshea commented Sep 28, 2020

Reference implementation:

https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

We don't allow deps to be referenced by attrs or keys since React doesn't make any attempt to do so either:

facebook/react#16265

Also adds type checking with MyPy

@rmorshea rmorshea merged commit 23aed25 into master Sep 28, 2020
@rmorshea rmorshea deleted the exhaustive-deps branch September 28, 2020 07:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants