Re:React: You Might Not Need an Effect
by joshribakoff on Thursday March 23, 2023 @08:18AM
(#35273544)
> Bugs like inter-dependencies in your data and code should be caught by unit tests
Why write a ton of unit tests for what a static check can just do “for free?”. Not sure i follow your logic. I agree React can feel like a nuisance, but the lint rule itself is not the issue i think you have, it sounds like your issue is just with hooks.
Why write a ton of unit tests for what a static check can just do “for free?”. Not sure i follow your logic. I agree React can feel like a nuisance, but the lint rule itself is not the issue i think you have, it sounds like your issue is just with hooks.