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

Function createUpdate

lib/assets/react-source/development/react.js:15870–15886  ·  view source on GitHub ↗
(expirationTime, suspenseConfig)

Source from the content-addressed store, hash-verified

15868 }
15869 }
15870 function createUpdate(expirationTime, suspenseConfig) {
15871 var update = {
15872 expirationTime: expirationTime,
15873 suspenseConfig: suspenseConfig,
15874 tag: UpdateState,
15875 payload: null,
15876 callback: null,
15877 next: null
15878 };
15879 update.next = update;
15880
15881 {
15882 update.priority = getCurrentPriorityLevel();
15883 }
15884
15885 return update;
15886 }
15887 function enqueueUpdate(fiber, update) {
15888 var updateQueue = fiber.updateQueue;
15889

Callers 6

propagateContextChangeFunction · 0.85
react.jsFile · 0.85
createRootErrorUpdateFunction · 0.85
createClassErrorUpdateFunction · 0.85
throwExceptionFunction · 0.85
updateContainerFunction · 0.85

Calls 1

getCurrentPriorityLevelFunction · 0.85

Tested by

no test coverage detected