MCPcopy Create free account
hub / github.com/cosdensolutions/code / App

Function App

videos/long/react-query-tutorial/src/App.tsx:14–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12});
13
14function App() {
15 const [showDemo, setShowDemo] = useState(true);
16
17 return (
18 <QueryClientProvider client={queryClient}>
19 <button onClick={() => setShowDemo(!showDemo)}>Toggle Demo</button>
20 {showDemo && <Demo />}
21 </QueryClientProvider>
22 );
23}
24
25export default App;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected