MCPcopy
hub / github.com/zalmoxisus/remote-redux-devtools / checkForReducerErrors

Function checkForReducerErrors

src/devTools.js:201–208  ·  view source on GitHub ↗
(liftedState = store.liftedStore.getState())

Source from the content-addressed store, hash-verified

199}
200
201function checkForReducerErrors(liftedState = store.liftedStore.getState()) {
202 if (liftedState.computedStates[liftedState.currentStateIndex].error) {
203 if (started) relay('STATE', filterStagedActions(liftedState, filters));
204 else send();
205 return true;
206 }
207 return false;
208}
209
210function monitorReducer(state = {}, action) {
211 lastAction = action.type;

Callers 1

handleChangeFunction · 0.85

Calls 2

relayFunction · 0.85
sendFunction · 0.85

Tested by

no test coverage detected