You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current explanation about "additionalHooks" under react-hooks/exhaustive-deps might be misleading. The regex in the example catches more than needed.
Splits from WordPress/gutenberg#61598 & WordPress/gutenberg#61599
The current explanation about "additionalHooks" under
react-hooks/exhaustive-deps
might be misleading. The regex in the example catches more than needed.This:
Will catch also things like this:
This might be the reason why Gutenberg used the same approach (which caused the bug mentioned above):
https://github.com/WordPress/gutenberg/blob/2df566c771dba22eec2841081a00963a2e56658c/packages/eslint-plugin/configs/react.js#L37-L42
The text was updated successfully, but these errors were encountered: