Order of reducer and saga : <p>When dispatching an action is the order when it arrives to a reducer and a saga guaranteed?</p>

<p>Can I rely on that it </p>

<ol>
<li>first enters the reducer</li>
<li>then the saga?</li>
</ol>

<p>Reducer:</p>

<pre><code> function reducer(state, action) {

    switch (action.type) {
       case 'MY_ACTION':
       // decorate action so that an epic doesn't have to take data from store
       action.ports = state.itemsModified;                 
       return state;
     }
    }
</code></pre>

<p>Saga:</p>

<pre><code>export function* sagaUpdatePorts() {
    yield* ReduxSaga.takeEvery(actions.GRID_PORTS_ASYNC_UPDATE_PORTS, updatePorts);
}

function* updatePorts(action) {
    const {response, error} = yield SagaEffects.call(portsService.updatePorts, action.ports);
}
</code></pre>
