6 ms·
Isn’t that the job of actions after an transition happened? (modifying the internal context according to the event).
by jlu 7y ago
Isn’t that the job of actions after an transition happened? (modifying the internal context according to the event).
- spiffytech 7y agoIt is indeed. However, I've found the problem of writing assignment actions correctly is very similar to the problem of managing ordinary variables without xstate. I'm wondering if I'm doing this right, since I thought xstate was supposed to make that kind of bug much rarer.