Mar 21, 2022
I don't think the RTL philosophy came about because of not wanting to mock things, but because hooks turn your components into inscrutable balls of mud and you _can't_ isolate the pieces out.
I don't think the RTL philosophy came about because of not wanting to mock things, but because hooks turn your components into inscrutable balls of mud and you _can't_ isolate the pieces out.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.