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

Function getUpdateExpirationTime

code/redux/public/app.js:8222–8234  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

8220}
8221
8222function getUpdateExpirationTime(fiber) {
8223 switch (fiber.tag) {
8224 case HostRoot:
8225 case ClassComponent:
8226 var updateQueue = fiber.updateQueue;
8227 if (updateQueue === null) {
8228 return NoWork;
8229 }
8230 return updateQueue.expirationTime;
8231 default:
8232 return NoWork;
8233 }
8234}
8235
8236function getStateFromUpdate(update, instance, prevState, props) {
8237 var partialState = update.partialState;

Callers 1

resetExpirationTimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected