DEV Community

loading...

Discussion on: React Hooks

Collapse
nozil profile image
Nicolas Zilli

Custom hooks extracted to another file make it easier to mock with jest and test your functional components (since they are kind of dummy).

Hooks are really awesome and functional 👍