mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
2332155161
Adds a validation pass to check that the only thing you can do with hooks is call them. A follow-up PR (still early WIP) will check the other aspect of the rules of hooks, that they are not called conditionally. That's a more involved algorithm.