MCPcopy Index your code
hub / github.com/react/react / prepare

Function prepare

packages/react-refresh/src/__tests__/ReactFresh-test.js:59–62  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

57 });
58
59 function prepare(version) {
60 const Component = version();
61 return Component;
62 }
63
64 async function render(version, props) {
65 const Component = version();

Callers 1

ReactFresh-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected