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

Function App

examples/solid/start/src/app.tsx:5–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import './app.css'
4
5export default function App() {
6 const [count, setCount] = createSignal(0)
7 console.log('App component rendered with count:', count())
8 return (
9 <main>
10 <TanStackDevtools plugins={[]} />
11
12 <h1>Hello world!</h1>
13 <button
14 class="increment"
15 onClick={() => setCount(count() + 1)}
16 type="button"
17 >
18 Clicks: {count()}
19 </button>
20 <p>
21 Visit{' '}
22 <a href="https://start.solidjs.com" target="_blank">
23 start.solidjs.com
24 </a>{' '}
25 to learn how to build SolidStart apps.
26 </p>
27 </main>
28 )
29}

Callers

nothing calls this directly

Calls 1

countFunction · 0.85

Tested by

no test coverage detected