MCPcopy Create free account
hub / github.com/vercel/examples / App

Function App

python/vibe-coding-ide/frontend/templates/react_stack/src/App.tsx:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19export default function App() {
20 const { ping, health } = useStatus()
21 return (
22 <div style={{ padding: 24, fontFamily: 'sans-serif' }}>
23 <h1>React (Stack)</h1>
24 <p>Connectivity:</p>
25 <ul>
26 <li>/api/ping: {String(ping)}</li>
27 <li>/api/health: {String(health)}</li>
28 </ul>
29 </div>
30 )
31}

Callers

nothing calls this directly

Calls 1

useStatusFunction · 0.70

Tested by

no test coverage detected