MCPcopy Index your code
hub / github.com/caseywebdev/react-list / updateReducer

Function updateReducer

docs/index.js:7394–7397  ·  view source on GitHub ↗
(reducer)

Source from the content-addressed store, hash-verified

7392 return "function" === typeof action ? action(state) : action;
7393}
7394function updateReducer(reducer) {
7395 var hook = updateWorkInProgressHook();
7396 return updateReducerImpl(hook, currentHook, reducer);
7397}
7398function updateReducerImpl(hook, current, reducer) {
7399 var queue = hook.queue;
7400 if (null === queue) throw Error(formatProdErrorMessage(311));

Callers 3

updateActionStateImplFunction · 0.85
index.jsFile · 0.85
updateTransitionFunction · 0.85

Calls 2

updateWorkInProgressHookFunction · 0.85
updateReducerImplFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…