Talk in English - US at reactjsday 2020
Short URL: https://joind.in/talk/f197d
(QR-Code (opens in new window))
Hooks have become a better and cleaner way to write React code. Many are now realizing it and starting to migrate 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 brand new hooks using components, all this while using the React Testing Library.
Comments
Comments are closed.
Thanks
Nice walkthrough on using RTL. Especially liked the final "common mistakes" section 👍