Re:Hooks Considered Harmful
by masylum on Monday March 21, 2022 @11:00AM
(#30754880)
I agree, but the problem is that when you refer an object inside a hook, the eslint exhaustive deps will tell you to add that object as a dependency. In that example, it's easily solved with destructuring `const teamId = params`, but a lot of developers will blindly follow the eslint complaint.
[ Parent
| on HN ]