So if I'm understanding this correctly, this is like redux-thunk, except that the side effects are done right in the reducer. But if I want a complex ajax workflow, for example, coordinate two ajax lookups coming out of order, it's the same monkey business as redux-thunk (where in this case, one solution is to add an extra field to the store, fetchingId or something similar)?
So if I'm understanding this correctly, this is like
redux-thunk
, except that the side effects are done right in the reducer. But if I want a complex ajax workflow, for example, coordinate two ajax lookups coming out of order, it's the same monkey business asredux-thunk
(where in this case, one solution is to add an extra field to the store,fetchingId
or something similar)?