News for hackers. Stuff that matters.
Re:Hooks Considered Harmful by clansimus on Monday March 21, 2022 @01:10PM (#30756744)
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?

Re:Hooks Considered Harmful by randall on Monday March 21, 2022 @03:34PM (#30758677)
Exactly.