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

Function onViewChange

packages/debugger/src/structure/index.ts:159–164  ·  view source on GitHub ↗
(view: DevtoolsMainView)

Source from the content-addressed store, hash-verified

157 return getClosestIncludedOwner(owner, treeWalkerMode)
158 },
159 onViewChange(view: DevtoolsMainView) {
160 // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
161 if (view === DevtoolsMainView.Structure) {
162 updateAllRoots()
163 }
164 },
165 }
166}

Callers

nothing calls this directly

Calls 1

updateAllRootsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…