MCPcopy Create free account
hub / github.com/dozoisch/react-async-script / WrappingComponent

Class WrappingComponent

test/async-script-loader-spec.js:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 // wrapping component that applies a ref to our AsyncHOC(InternalComponent)
221 // eslint-disable-next-line no-unused-vars
222 class WrappingComponent extends React.Component {
223 render() {
224 return (
225 <div>
226 <ComponentWrapper ref={r => (this._internalRef = r)} />
227 </div>
228 );
229 }
230 }
231 const instance = ReactTestUtils.renderIntoDocument(<WrappingComponent />);
232
233 expect(hasScript(URL)).toEqual(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…