menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Statecharts

The Statecharts community on Spectrum is (along with spectrum) MOVING TO OTHER PLATFORMS: For statecharts discussions in general go to Statecharts Discussion on GitHub (link) or Gitter (link). For XState-specific questions, go to the XState discussion forum for Q&A or the Stately discord chat to chat.

Channels
Team

Supervising machines with Redux

March 16, 2020 at 12:26pm

Supervising machines with Redux

March 16, 2020 at 12:26pm (Edited 3 years ago)
I've been experimenting with Redux as a supervisor to be able to send events to machines anywhere in the app

March 16, 2020 at 12:26pm
Essentially all events (except for machine internal events) are sent first to the Redux store where the reducer passes it to the right machines.
Edited
Edited
like-fill
1
Really cool; we can probably generalize this pattern (or similar) and put it in the docs!
like-fill
3

July 10, 2020 at 4:08pm
This is excellent, thank you so much.
like-fill
1