The main idea behind this middleware is to support the most common operations with a simple config object.
- intercepting and transforming actions
- making a network request
- cancelling pending network requests
redux-orchestrate uses "action in - action out" concept which is similar to other solutions like redux-observable and redux-saga, but rather than using generators or Observables, everything is defined using an array of objects.
Why would you do this?
Well, suppose you are building a facebook-like chat app. Every time the
... read the whole story at github.com.
ADD_MESSAGE action is dispatched, redux reducer is pushing new messages to an array.