How to test custom React hooks | Kent C. Dodds

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. Kent's post helped straighten out a few misconceptions.

Explore Other Notes

  • <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>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. …</p> </body> </html>
  • Murray Adcock.
Journal permalink