News for hackers. Stuff that matters.
Re:Frustrations with React Hooks by csande17 on Tuesday September 10, 2019 @12:14PM (#20929809)
> not all hooks break pureness

Sure, if you define a function called useWhatever that doesn't actually call any hooks, that might be a pure function. But the restrictions described in https://reactjs.org/docs/hooks-rules.html are not restrictions that pure functions have.

There are no comments on this comment yet.