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

Function CountingComponent

examples/sandbox/src/App.tsx:229–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229const CountingComponent = () => {
230 const [count, setCount] = s.createSignal(0)
231 // const interval = setInterval(() => setCount(c => c + 1), 1000)
232 // onCleanup(() => clearInterval(interval))
233 return <div>Count value is {count()}</div>
234}
235
236export default App

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…