Skip to content Skip to sidebar Skip to footer

A Scenario Flux Doesn't Support

I am using flux architecture with React and I have an issue I don't know how to handle. I need to write a logic that will listen to dispatched action (like a store) and will trigge

Solution 1:

The answer here is to back up and do everything in response to the original action, not to create a cascade of actions.

See also:

Flux Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch

Dispatching further actions when handling actions

https://github.com/facebook/flux/issues/133#issuecomment-70775063

Post a Comment for "A Scenario Flux Doesn't Support"