MCPcopy Create free account
hub / github.com/HuolalaTech/react-query-kit / App

Function App

tests/createQuery.test.tsx:207–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 }
206
207 function App() {
208 const [enabled, toggle] = React.useReducer(x => !x, false)
209
210 return (
211 <div>
212 <Page enabled={enabled} />
213 <button onClick={toggle}>enable</button>
214 </div>
215 )
216 }
217
218 const rendered = renderWithClient(queryClient, <App />)
219

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected