News for hackers. Stuff that matters.
Re:useStateMachine: A ½ kb state machine hook for React by lunfard00 on Saturday May 22, 2021 @02:04PM (#27248871)
in my experience is better to have customs hooks like useTimeout (react-use library is awesome) so is easier to test. Mocking hooks feels nice, mocking the browser API not so much...

There are no comments on this comment yet.