React Testing Library: custom hooks | Chase Armstrong

Another great overview of how to use the `react-hooks` extension for the Testing Library suite, with some more complex examples than many other tutorials.

Explore Other Notes

Newer

The value of browser diversity

There are two browser engines in the world. Dave considers what might be lost if that were to become one. He argues that browser diversity forces the standards process to be slow – and therefore […]

Older

How to test custom React hooks

I've been doing a fair amount of testing React hooks recently. Part of that has been learning the `react-hooks` extension for the Testing Library suite, which took a while to wrap my head around. […]
  • Another great overview of how to use the `react-hooks` extension for the Testing Library suite, with some more complex examples than many other […]
  • Murray Adcock.
Journal permalink