react/packages/react-debug-tools
Andrew Clark 66eb293742
Restrict effect return type to a function or nothing (#14119)
* Restrict effect return type to a function or nothing

We already warn in dev if the wrong type is returned. This updates the
Flow type.

* Restrict return type further

* Assume Effect hook returns either a function or undefined

* Tweak warning message
2019-01-31 10:11:47 -08:00
..
npm Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
src Restrict effect return type to a function or nothing (#14119) 2019-01-31 10:11:47 -08:00
README.md Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
index.js Add Debug Tools Package for Introspection of Hooks (#14085) 2018-11-05 10:02:59 -08:00
package.json Add directory details to the package.json of all packages (#14628) 2019-01-18 20:21:12 +00:00

README.md

react-debug-tools

This is an experimental package for debugging React renderers.

Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.

Use it at your own risk.