News for hackers. Stuff that matters.
Re:useStateMachine: A ½ kb state machine hook for React by schwartzworld on Saturday May 22, 2021 @01:09PM (#27248381)
Regarding useCallback, you can probably skip it in most cases, unless the extra renders are a problem for you.

Linters should help with missing dependencies.

Re:useStateMachine: A ½ kb state machine hook for React by ng12 on Saturday May 22, 2021 @05:50PM (#27250587)
Yes! useCallback is an optimization and using it prematurely can be problematic.