Frustrations with React Hooks
I absolutely love hooks and don't want to use the `React.Component` class ever again.<p>And yes, hooks need to be grasped, they're quite something else. But once you get the hang of hooks, they're very simple to understand.<p>OP seems to be a bit stuck in a hole.<p>If you end up in a situation where your hooks come loose and the code becomes a mess — just delete them all and rethink your code / component logic structure. Believe me, it all can be simplified. Just rinse and repeat until you are satisfied with the outcome. That's when the "aha!" moment comes.<p>At the moment I only use `useEffect`, `useState`, `useRef` — the rest is unneeded so far even in my large-ish application.<p>P.S. sorry for the puns!