MCPcopy Create free account
hub / github.com/reactjs/react-rails / initializeUpdateQueue

Function initializeUpdateQueue

lib/assets/react-source/development/react.js:15844–15854  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

15842 }
15843
15844 function initializeUpdateQueue(fiber) {
15845 var queue = {
15846 baseState: fiber.memoizedState,
15847 baseQueue: null,
15848 shared: {
15849 pending: null
15850 },
15851 effects: null
15852 };
15853 fiber.updateQueue = queue;
15854 }
15855 function cloneUpdateQueue(current, workInProgress) {
15856 // Clone the update queue from current. Unless it's already a clone.
15857 var queue = workInProgress.updateQueue;

Callers 3

mountClassInstanceFunction · 0.85
createFiberRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected