This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
React useStateMachine hook
Chapters
useStateMachine is a 0.5KB state machine hook for React that features entry/exit callbacks, guarded transitions, and extended state.