Skip to content
JS

Redux and the State ADT

Course on egghead by Ian Hofmann-Hicks

View on egghead (opens in a new tab)
1 h 38 min
LengthVideo runtime
Subscription
Price modelegghead plan
26
Lessons
Dec 2018
Published19 Dec 2018

About this course

Description from egghead

At a high level Redux is just a dispatching system, sitting atop a finite state machine, driving our application state. It just so happens that the State ADT is good at modeling a finite state machine. It allows us to represent our stateful transactions in discrete, easily composed transactions. We can create complicated stateful transitions by composing many simple transitions into one state transaction. By using the State ADT, we should be able to model all of our application state transitions and provide a single reducer function to Redux that integrates with our state machine model. We’ll put this theory to the test by building a Memory type game called “Anger The Bunny”. We start of by defining our state transitions using the State ADT, starting with simple, discrete transactions and using them to create the complex transitions typical of any game.

What it covers

26 lessons
  1. 1Introduction to using the State ADT with Redux
  2. 2Define Discrete State Transitions using the State ADT
  3. 3Combine State Dependent Transactions with the State ADT
  4. 4Transition a Stateful ADT with Outside Input
  5. 5Compose Simple State ADT Transitions into One Complex Transaction
  6. 6Read and Transform Values from a State ADT’s State
  7. 7Transition State based on Existing State using the State ADT
  8. 8Combine Multiple State ADT Instances with the Same Input
  9. 9Generate Randomness Using the State ADT
  10. 10Use a Pure RNG with the State ADT to Select an Element from State
  11. 11Multiply Two Arrays over a Function in JavaScript
  12. 12Draw Items from One JavaScript Array to Another using a Pair ADT
  13. 13Randomly Pull an Item from an Array with the State ADT
  14. 14Pull Many Random Numbers in a Single State ADT Transaction
  15. 15Adapt Redux Actions/Reducers for Use with the State ADT
  16. 16Create State ADT Based Reducers
  17. 17Combine Multiple State ADT Based Redux Reducers
  18. 18Initialize Redux Application State Using The State ADT
  19. 19Debug a Functional JavaScript composeK Flow
  20. 20Create a Redux Store for Use with a State ADT Based Reducer
  21. 21Connect State ADT Based Redux Actions to a React Application
  22. 22Create Redux Middleware to Dispatch Multiple Actions
  23. 23Create Redux Middleware to Dispatch Actions with the Async ADT
  24. 24Dispatch Multiple Asynchronous Redux Actions with Arguments
Show 2 more lessons
  1. 25Extend State ADT Based Transitions after React/Redux Integration
  2. 26Dispatch a Single State ADT Based Redux Action

Similar state management courses

  1. Build Angular 1.x Apps with Redux

    egghead · Lukas Ruebbelke · 13 lessons · Oct 2016

    1 h 41 minSubscription
    egghead13Oct 2016
  2. Build A React App With Redux

    egghead · Andy Van Slaars · 26 lessons · 4.5 from 11 ratings · Aug 2017

    1 h 51 minSubscription
    egghead264.5 (11)Aug 2017
  3. Manage Application State with Mobx-state-tree

    egghead · Michel Weststrate · 17 lessons · 4.8 from 16 ratings · Dec 2017

    1 h 19 minFree
    egghead174.8 (16)Dec 2017
  4. Beginner2 h
    Codecademy1Dec 2022
  5. Learn Redux: Redux Toolkit

    Codecademy · 1 lessons · Dec 2022

    Beginner1 h
    Codecademy1Dec 2022
  6. Reactive Angular with NgRx

    Master.dev · Lukas Ruebbelke · 24 lessons · Jan 2019

    3 h 14 minSubscription
    Master.dev24Jan 2019
  7. Vuex for Intermediate Vue 2 Developers

    Master.dev · Divya S · 48 lessons · Aug 2020

    3 h 15 minSubscription
    Master.dev48Aug 2020
  8. Advanced Redux with Redux Toolkit

    Master.dev · Steve Kinney · 21 lessons · Feb 2023

    3 h 52 minSubscription
    Master.dev21Feb 2023

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare