Hacker News new | ask | show | jobs
by clansimus 1545 days ago
Yea, the examples seem disingenuous to me.

> Most bugs can be solved by moving hooks away from the components and using primitives as the only dependencies.

Or just use primitives in the dependency array of your existing hooks?

1 comments

Exactly.