React useStateMachine hook

Published: 17 May 2021
on channel: Zen of Coding
2,310
97

useStateMachine is a 0.5KB state machine hook for React that features entry/exit callbacks, guarded transitions, and extended state.

0:00​ Intro
1:20​ Why use this instead of XState?
3:34​ Code Example 1: Timer
11:24​ Code Example 2: Fetch with retry logic


Watch video React useStateMachine hook online without registration, duration hours minute second in high quality. This video was added by user Zen of Coding 17 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,310 once and liked it 97 people.