Skip to content

Commit

Permalink
[ESLint] Suggest moving inside a Hook or useCallback when bare functi…
Browse files Browse the repository at this point in the history
…on is a dependency (#15026)

* Warn about bare function deps and suggest moving or useCallback

* Clearer wording
  • Loading branch information
gaearon committed Mar 6, 2019
1 parent 1e3b619 commit 9b7e1d1
Show file tree
Hide file tree
Showing 2 changed files with 579 additions and 33 deletions.
Loading

0 comments on commit 9b7e1d1

Please sign in to comment.