MCPcopy Create free account
hub / github.com/TanStack/devtools / increment

Function increment

examples/preact/custom-devtools/src/App.tsx:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9 const increment = () => {
10 counterInstance.increment()
11 setCount(counterInstance.getCount())
12 }
13
14 const decrement = () => {
15 counterInstance.decrement()
16 setCount(counterInstance.getCount())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected