MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / checkForReducerErrors

Function checkForReducerErrors

app/worker/reduxAPI.js:215–221  ·  view source on GitHub ↗
(liftedState, instance)

Source from the content-addressed store, hash-verified

213}
214
215function checkForReducerErrors(liftedState, instance) {
216 if (liftedState.computedStates[liftedState.currentStateIndex].error) {
217 relay('STATE', filterStagedActions(liftedState, instance.filters), instance)
218 return true
219 }
220 return false
221}
222
223function monitorReducer(state = {}, action = {}) {
224 lastAction = action.type

Callers 1

handleChangeFunction · 0.85

Calls 1

relayFunction · 0.85

Tested by

no test coverage detected