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

Function makeComponentRegistry

packages/debugger/src/structure/walker.ts:44–52  ·  view source on GitHub ↗
(
    eli: ElementInterface<TEl>,
)

Source from the content-addressed store, hash-verified

42
43export
44const makeComponentRegistry = <TEl extends object>(
45 eli: ElementInterface<TEl>,
46): ComponentRegistry<TEl> => {
47 return {
48 eli: eli,
49 components: new Map,
50 element_nodes: new Map,
51 }
52}
53
54export
55const clearComponentRegistry = <TEl extends object>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…