Re:Unit Testing React Hooks
by rydel on Wednesday November 07, 2018 @04:55PM
(#18402739)
It is slightly misleading. One cannot test hooks alone - a component, which uses a hook, must be created to act on them to thest if the component behaves properly with the hook. There is no way to make unit test for a hook.
[ Parent
| on HN ]
There are no comments on this comment yet.