The talk will be presented as a refactoring story - will start from the messy untestable component, cover it with a brittle smoke test, and then show how to move all our react component logic into a custom hook and test this hook. Will present patterns to test things like - useState, effects, and Apollo.
Check out more articles and videos
Want to have access to all events for 4x less?
React Advanced Conference 2021
22-25 Oct, 2021
18-19 Nov, 2021
GraphQL Galaxy 2021
9-10 Dec, 2021