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

Function handler

packages/debugger/src/structure/walker.ts:247–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 let {rootId, onUpdate: onComputationUpdate, mode} = config
246
247 let handler = () => {
248 let is_leaf = !comp.owned || comp.owned.length === 0
249 let changed_structure = was_leaf !== is_leaf || !is_leaf || mode === TreeWalkerMode.DOM
250 was_leaf = is_leaf
251 onComputationUpdate(rootId, owner_to_update, changed_structure)
252 }
253
254 observeComputationUpdate(comp, handler, $WALKER)
255}

Callers 1

map_source_valueFunction · 0.85

Calls 1

onComputationUpdateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…