MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getUpdateExpirationTime

Function getUpdateExpirationTime

code/styling/public/app.js:7971–7983  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7969}
7970
7971function getUpdateExpirationTime(fiber) {
7972 switch (fiber.tag) {
7973 case HostRoot:
7974 case ClassComponent:
7975 var updateQueue = fiber.updateQueue;
7976 if (updateQueue === null) {
7977 return NoWork;
7978 }
7979 return updateQueue.expirationTime;
7980 default:
7981 return NoWork;
7982 }
7983}
7984
7985function getStateFromUpdate(update, instance, prevState, props) {
7986 var partialState = update.partialState;

Callers 1

resetExpirationTimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected