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

Function stylesheetPropsFromRawProps

docs/index.js:17431–17436  ·  view source on GitHub ↗
(rawProps)

Source from the content-addressed store, hash-verified

17429 return 'link[rel="stylesheet"][' + key + "]";
17430}
17431function stylesheetPropsFromRawProps(rawProps) {
17432 return assign({}, rawProps, {
17433 "data-precedence": rawProps.precedence,
17434 precedence: null
17435 });
17436}
17437function preloadStylesheet(ownerDocument, key, preloadProps, state) {
17438 ownerDocument.querySelector('link[rel="preload"][as="style"][' + key + "]")
17439 ? (state.loading = 1)

Callers 2

acquireResourceFunction · 0.85
suspendResourceFunction · 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…