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

Function rerenderActionState

docs/index.js:7870–7881  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

7868 actionQueue.action = action;
7869}
7870function rerenderActionState(action) {
7871 var stateHook = updateWorkInProgressHook(),
7872 currentStateHook = currentHook;
7873 if (null !== currentStateHook)
7874 return updateActionStateImpl(stateHook, currentStateHook, action);
7875 updateWorkInProgressHook();
7876 stateHook = stateHook.memoizedState;
7877 currentStateHook = updateWorkInProgressHook();
7878 var dispatch = currentStateHook.queue.dispatch;
7879 currentStateHook.memoizedState = action;
7880 return [stateHook, dispatch, !1];
7881}
7882function pushEffect(tag, create, inst, deps) {
7883 tag = { tag: tag, create: create, inst: inst, deps: deps, next: null };
7884 create = currentlyRenderingFiber$1.updateQueue;

Callers 1

index.jsFile · 0.85

Calls 2

updateWorkInProgressHookFunction · 0.85
updateActionStateImplFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…