salsita / prism

React / Redux action composition made simple http://salsita.github.io/prism/
495 stars 24 forks source link

Investigate how to solve LLT #12

Closed tomkis closed 8 years ago

tomkis commented 8 years ago

One option would be:

import { saga, mapSaga } from 'redux-elm';

function* onBoardingSaga() {

}

function* updater(appState) {
  yield saga(onBoardingSaga);

  return appState;
}

function* superUpdater(appState) {
  return yield* mapSaga(updater(appState), 'Nested');
}

Does this solve composition issues?

tomkis commented 8 years ago

Solved in #14