MCPcopy Create free account
hub / github.com/caseywebdev/react-list / updateOptimisticImpl

Function updateOptimisticImpl

docs/index.js:7627–7634  ·  view source on GitHub ↗
(hook, current, passthrough, reducer)

Source from the content-addressed store, hash-verified

7625 return hook;
7626}
7627function updateOptimisticImpl(hook, current, passthrough, reducer) {
7628 hook.baseState = passthrough;
7629 return updateReducerImpl(
7630 hook,
7631 currentHook,
7632 "function" === typeof reducer ? reducer : basicStateReducer
7633 );
7634}
7635function dispatchActionState(
7636 fiber,
7637 actionQueue,

Callers 3

index.jsFile · 0.85
updateOptimisticFunction · 0.85
rerenderOptimisticFunction · 0.85

Calls 1

updateReducerImplFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…