Making React Components Testable
Sometimes React components end up being written too complex as requirements change. When this happens I like to create custom hooks in order to make them easier to understand and test.
Summary
In order to Unit test a React component you need to be a...
blog.codinglogan.dev6 min read