News for hackers. Stuff that matters.
Re:Thinking in React Hooks by erikpukinskis on Friday December 13, 2019 @02:40AM (#21779812)
> My main complaint with hooks is people seem to think they always need them

The low level problem here is your team doesn’t realize that every word of code means something.

You need to get past the idea that code has to be there to do a thing and get to the place where you expect every bit of code to explain something.

“Why is there a useMemo here”... if your team can’t explain that, then “changes requested”.

There are no comments on this comment yet.