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

Function TestComponent

packages/debugger/src/structure/walker.test.tsx:202–206  ·  view source on GitHub ↗
(props: {n: number})

Source from the content-addressed store, hash-verified

200
201 s.createRoot(dispose => {
202 const TestComponent = (props: {n: number}) => {
203 const [a] = s.createSignal(0)
204 s.createComputed(a)
205 return <div>{props.n === 0 ? 'end' : <TestComponent n={props.n - 1} />}</div>
206 }
207 const Button = () => <button>Click me</button>
208
209 s.createRenderEffect(() => <>

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…