1. 4
    Transition a Stateful ADT with Outside Input
    2m 58s

Transition a Stateful ADT with Outside Input

Share this video with your friends

Send Tweet

Without any input from the outside world to drive it, a state machine can be a very boring affair. It becomes even more boring, if we were to create a game that took no input from the outside. By using actions, Redux provides a means to allow the outside world influence and drive the application state based on some payload. In order to demonstrate how we can provide input to our transitions, we will create another transaction that takes an id and transitions the state based on that input.