MCPcopy Create free account
hub / github.com/dabbott/javascript-playgrounds / resetApplication

Method resetApplication

components/player/Sandbox.js:217–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215 }
216
217 resetApplication() {
218 const screenElement = this.refs.root
219
220 ReactDOM.unmountComponentAtNode(screenElement)
221 }
222
223 evaluate(filename, code) {
224 const wrapped = prefix + code + getSuffix(filename)

Callers 2

player-bundle.jsFile · 0.80
runApplicationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected