fluxible-action-utils icon indicating copy to clipboard operation
fluxible-action-utils copied to clipboard

dynamic parameters for actions executed by executeMultiple

Open geekyme opened this issue 8 years ago • 2 comments

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?

geekyme avatar Sep 28 '15 14:09 geekyme