MCPcopy
hub / github.com/facebook/react / createUpdate

Function createUpdate

packages/react-reconciler/src/ReactFiberClassUpdateQueue.js:210–221  ·  view source on GitHub ↗
(lane: Lane)

Source from the content-addressed store, hash-verified

208}
209
210export function createUpdate(lane: Lane): Update<mixed> {
211 const update: Update<mixed> = {
212 lane,
213
214 tag: UpdateState,
215 payload: null,
216 callback: null,
217
218 next: null,
219 };
220 return update;
221}
222
223export function enqueueUpdate<State>(
224 fiber: Fiber,

Callers 8

createHydrationContainerFunction · 0.90
updateContainerImplFunction · 0.90
enqueueSetStateFunction · 0.90
enqueueReplaceStateFunction · 0.90
enqueueForceUpdateFunction · 0.90
createRootErrorUpdateFunction · 0.90
createClassErrorUpdateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected