MCPcopy Index your code
hub / github.com/microsoft/SandDance / initializeUpdateQueue

Function initializeUpdateQueue

docs/external/js/react-dom.development.js:12284–12294  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

12282 }
12283
12284 function initializeUpdateQueue(fiber) {
12285 var queue = {
12286 baseState: fiber.memoizedState,
12287 baseQueue: null,
12288 shared: {
12289 pending: null
12290 },
12291 effects: null
12292 };
12293 fiber.updateQueue = queue;
12294 }
12295 function cloneUpdateQueue(current, workInProgress) {
12296 // Clone the update queue from current. Unless it's already a clone.
12297 var queue = workInProgress.updateQueue;

Callers 3

mountClassInstanceFunction · 0.85
createFiberRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected