MCPcopy Create free account
hub / github.com/adobe/react-spectrum / load

Function load

scripts/esm-support/loader.mjs:15–25  ·  view source on GitHub ↗
(url, context, next)

Source from the content-addressed store, hash-verified

13}
14
15export async function load(url, context, next) {
16 if (context.format !== 'css') {
17 return next(url, context);
18 }
19
20 return {
21 format: 'json',
22 shortCircuit: true,
23 source: '{}'
24 };
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected