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

Function adoptPreloadPropsForScript

docs/index.js:17577–17584  ·  view source on GitHub ↗
(scriptProps, preloadProps)

Source from the content-addressed store, hash-verified

17575 null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title);
17576}
17577function adoptPreloadPropsForScript(scriptProps, preloadProps) {
17578 null == scriptProps.crossOrigin &&
17579 (scriptProps.crossOrigin = preloadProps.crossOrigin);
17580 null == scriptProps.referrerPolicy &&
17581 (scriptProps.referrerPolicy = preloadProps.referrerPolicy);
17582 null == scriptProps.integrity &&
17583 (scriptProps.integrity = preloadProps.integrity);
17584}
17585var tagCaches = null;
17586function getHydratableHoistableCache(type, keyAttribute, ownerDocument) {
17587 if (null === tagCaches) {

Callers 4

preinitScriptFunction · 0.85
preinitModuleScriptFunction · 0.85
acquireResourceFunction · 0.85
index.jsFile · 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…