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

Function getUpdateExpirationTime

code/third-party/public/app.js:7204–7216  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7202}
7203
7204function getUpdateExpirationTime(fiber) {
7205 switch (fiber.tag) {
7206 case HostRoot:
7207 case ClassComponent:
7208 var updateQueue = fiber.updateQueue;
7209 if (updateQueue === null) {
7210 return NoWork;
7211 }
7212 return updateQueue.expirationTime;
7213 default:
7214 return NoWork;
7215 }
7216}
7217
7218function getStateFromUpdate(update, instance, prevState, props) {
7219 var partialState = update.partialState;

Callers 1

resetExpirationTimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected