MCPcopy
hub / github.com/react/react / resolve

Function resolve

packages/react-devtools-extensions/src/contentScripts/fileFetcher.js:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 };
14
15 const resolve = value => {
16 chrome.runtime.sendMessage({
17 source: 'react-devtools-fetch-resource-content-script',
18 payload: {
19 type: 'fetch-file-with-cache-complete',
20 url,
21 value,
22 },
23 });
24 };
25
26 fetch(url, {cache: 'force-cache', signal: AbortSignal.timeout(60000)}).then(
27 response => {

Callers 15

fetchResourceFunction · 0.70
webpack.config.jsFile · 0.50
webpack.backend.jsFile · 0.50
webpack-server.jsFile · 0.50
makeConfigFunction · 0.50
CustomHooks.jsFile · 0.50
TransitionFunction · 0.50
readInputDataFunction · 0.50

Calls

no outgoing calls

Tested by 3

compileFunction · 0.40
bundleFunction · 0.40
getDataFunction · 0.40