This post explores how to use Vitest and React Testing Library to help unit test React hooks in a way that makes them easy to maintain and extend. Powered by Vite, Vitest claims to be the "blazing fast unit test framework" for Vite projects.
Full article