Re:useStateMachine: A ½ kb state machine hook for React
by tanaypingalkar on Saturday May 22, 2021 @04:32PM
(#27250014)
True, you cannot do that in useEffect, it will throw you error. And probably your linter will tell you. You can't even use your own or third party hooks in side useEffect. This also throw error I don't know why?
[ Parent
| on HN ]