Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor hook ordering check to use DEV-only data structure
This enables us to warn about more cases (e.g. useContext, useDebugValue) withou the need to add any overhead to production bundles.
- Loading branch information
Brian Vaughn
committed
Feb 25, 2019
1 parent
3f5cde5
commit ef8bd2c
Showing
5 changed files
with
434 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.