News for hackers. Stuff that matters.
Re:Frustrations with React Hooks by tracker1 on Tuesday September 10, 2019 @01:08PM (#20930499)
I don't quite get the obsession with the order of hooks... You call all the hooks in your component function and don't optionally do so. In the end, if you're optionally calling different hooks differently in the same component, you're probably doing something wrong, and/or they should be separate components.

There are no comments on this comment yet.