Files
react/packages
Sunil PaiandGitHub e1cd83e49d Throw an error when using hooks inside useMemo/useState/useReducer, or .memo's comparator (#14608)
* hooks inside useMemo/.memo - failing tests

* throw an error when using hooks inside useMemo

* throw when using hooks inside .memo's compare fn

* faster/better/stronger

* same logic for useReducer, tests for the server, etc

* Update ReactDOMServerIntegrationHooks-test.internal.js

ack lint

* nits

* whitespace

* whitespace

* stray semi

* Tweak comment

* stray unmatched fiber reset

* nit
2019-01-18 02:15:21 +00:00
..
2018-12-19 17:23:14 -08:00
2018-12-19 17:23:14 -08:00
2018-12-19 17:23:14 -08:00
2018-12-19 17:23:14 -08:00
2019-01-11 21:46:05 -08:00