Open History to see the last commit
1# TanStack Solid Query Devtools Panel Example
2β
3Embeds the devtools as a panel inside the page instead of the floating toggle.
4β
5## How it works
6β
7- `src/services/repos/queries.ts` defines `reposQueries.detail()` with `queryOptions`, keyed by `['repos', 'detail']`, and `src/services/repos/api.ts` fetches the `TanStack/query` repository from the GitHub API.
8- `src/index.tsx` reads the repository with `useQuery` in the `Example` component.
9- The same file renders `SolidQueryDevtoolsPanel` inside the page when the toggle button is clicked, and its `onClose` callback hides the panel again.
10β
11To run this example:
12β
13- `npm install`
14- `npm run dev`