javascript - Is store.dispatch in Redux synchronous or asynchronous -
i realize basic question had no luck finding answer elsewhere.
is store.dispatch
synchronous or asynchronous in redux
?
in case asynchronous there possibility add callback after action has been propagated possible react
?
afaik, dispatching action synchronous. in case if willing address asynchronous call, can use thunk-middleware in redux, dispatch provided callback function can invoke per convenience. more info, checkout answer on author itself: how dispatch redux action timeout?
Comments
Post a Comment