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

Function insertSuspendedStylesheets

docs/index.js:17763–17771  ·  view source on GitHub ↗
(state, resources)

Source from the content-addressed store, hash-verified

17761}
17762var precedencesByRoot = null;
17763function insertSuspendedStylesheets(state, resources) {
17764 state.stylesheets = null;
17765 null !== state.unsuspend &&
17766 (state.count++,
17767 (precedencesByRoot = new Map()),
17768 resources.forEach(insertStylesheetIntoRoot, state),
17769 (precedencesByRoot = null),
17770 onUnsuspend.call(state));
17771}
17772function insertStylesheetIntoRoot(root, resource) {
17773 if (!(resource.state.loading & 4)) {
17774 var precedences = precedencesByRoot.get(root);

Callers 2

waitForCommitToBeReadyFunction · 0.85
onUnsuspendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…