MCPcopy Create free account
hub / github.com/caseywebdev/react-list / shouldAttemptEagerTransition

Function shouldAttemptEagerTransition

docs/index.js:16852–16861  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16850}
16851var currentPopstateTransitionEvent = null;
16852function shouldAttemptEagerTransition() {
16853 var event = window.event;
16854 if (event && "popstate" === event.type) {
16855 if (event === currentPopstateTransitionEvent) return !1;
16856 currentPopstateTransitionEvent = event;
16857 return !0;
16858 }
16859 currentPopstateTransitionEvent = null;
16860 return !1;
16861}
16862var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0,
16863 cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0,
16864 localPromise = "function" === typeof Promise ? Promise : void 0,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…