MCPcopy Create free account
hub / github.com/TanStack/router / App

Function App

examples/solid/basic-devtools-panel/src/App.tsx:3–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { createSignal } from 'solid-js'
2
3function App() {
4 const [count, setCount] = createSignal(0)
5
6 return (
7 <>
8 <div></div>
9 <div class="card">
10 <button onClick={() => setCount((count) => count + 1)}>
11 count is {count()}
12 </button>
13 <p>
14 Edit <code>src/App.tsx</code> and save to test HMR
15 </p>
16 </div>
17 <p class="read-the-docs">
18 Click on the Vite and React logos to learn more
19 </p>
20 </>
21 )
22}
23
24export default App

Callers

nothing calls this directly

Calls 1

countFunction · 0.50

Tested by

no test coverage detected