fluxible-action-utils
fluxible-action-utils copied to clipboard
dynamic parameters for actions executed by executeMultiple
In the docs, I see this:
loadStuffForUser: [
'loadUser',
{
// will be executed after 'loadUser' task completes successfully
action: require('../../actions/loadStuffForUser'),
params: context.getStore(UserStore).getGUID()
}
]
getGUID
is ran at runtime when executeMultiple is called, so wouldn't the user not be loaded by the time the action "loadStuffForUser" is called?