MCPcopy Create free account
hub / github.com/react/react / reloadFixture

Function reloadFixture

fixtures/dom/public/renderer.js:156–160  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

154 }
155
156 function reloadFixture(code) {
157 renders = 0;
158 unmountComponent(output);
159 injectFixture(code);
160 }
161
162 window.onerror = handleError;
163

Callers 1

renderer.jsFile · 0.85

Calls 2

injectFixtureFunction · 0.85
unmountComponentFunction · 0.70

Tested by

no test coverage detected