A quick guide to testing React Hooks

added by JavaScript Kicks
2/21/2019 7:59:00 AM

475 Views

The Hooks feature is a welcome change as it solves many of the problems React devs have faced over the years. One of those problems is the case of React not having support for reusable state logic between class components. This can sometimes lead to huge components, duplicated logic in the constructor and lifecycle methods.


0 comments