mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
* 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