React Hooks broke my tests, now what? - CityJS London 2023
Hooks have become a better and cleaner way to write React code. Many have realized it and migrated their solutions from class to functional components. When the code looks great, and the migration seems successful, your tests may disagree. This presentation focuses on the common pitfalls of testing and what we have been doing wrong while also teaching you how to test your components, all this while using the React Testing Library.
Daniel Afonso
March 31, 2023