javascript - Redux and dependent async action -
is idea have dependencies between async actions in redux ?
if action_a
, action_b
async redux actions , in order react action_b
need have action_a_success
dispatched (so store contains needed data) there canonical way how in redux or poor design choice ?
if want action_b
performed after action_a
, should dispatching action_b
in success/error callback of action_a
.
Comments
Post a Comment