How to use the redux-loop.Cmd.action function in redux-loop

To help you get started, we’ve selected a few redux-loop examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ioof-holdings / redux-subspace / examples / redux-loop / redux-loop-example / src / counter.js View on Github external
[Actions.incrementBothStart]: (state, amount) => {
    console.log('both start');
    return loop(state,
      Cmd.list([
        Cmd.action(Actions.shortIncrementStart(amount)),
        Cmd.action(Actions.longIncrementStart(amount)),
      ])
  )},
}, initialState);
github ioof-holdings / redux-subspace / examples / redux-loop / redux-loop-example / src / counter.js View on Github external
[Actions.incrementBothStart]: (state, amount) => {
    console.log('both start');
    return loop(state,
      Cmd.list([
        Cmd.action(Actions.shortIncrementStart(amount)),
        Cmd.action(Actions.longIncrementStart(amount)),
      ])
  )},
}, initialState);