MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / DevtoolsOverlay

Function DevtoolsOverlay

examples/sandbox/src/DevtoolsOverlay.tsx:9–21  ·  view source on GitHub ↗
(
    props: Parameters<typeof attachDevtoolsOverlay>[0],
)

Source from the content-addressed store, hash-verified

7}
8
9export default function DevtoolsOverlay(
10 props: Parameters<typeof attachDevtoolsOverlay>[0],
11): undefined {
12 if (window.$$dispose_devtools_overlay) {
13 console.log('Reloading devtools overlay...')
14
15 window.$$dispose_devtools_overlay()
16 window.$$dispose_devtools_overlay = undefined
17 }
18
19 window.$$dispose_devtools_overlay = attachDevtoolsOverlay(props)
20 return
21}

Callers

nothing calls this directly

Calls 1

attachDevtoolsOverlayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…