MCPcopy Create free account
hub / github.com/TrueFiEng/useDApp / loadExample

Function loadExample

packages/docs/src/examples/ExampleContainer.tsx:57–74  ·  view source on GitHub ↗

* Loads the example and returns the component that will render the example app. * It's either the JSX passed to `ReactDOM.render` or otherwise the default export of the module. * This function hooks the `ReactDOM.render` so we can use it in examples and not crash the docs app. * Crash happens bec

(example: Example)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ExampleRendererFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected