AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Reducing a State Machine in React?
Sota: It's fine to always express a state machine, but plain state machines don't really help you with common problems. In modern react so a use reducer or at or even a state like ye,. Then most of the time you need to do something based on fetching data from the server. Reduc sava, reduc saga and reduc tunk are the two most popular ways to do it. Sota: By the time it does help you, you end up in stalling these libraries that are so complicated.