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

Function DevtoolsExample

examples/react/https/src/setup.tsx:59–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57const router = createRouter({ routeTree })
58
59export default function DevtoolsExample() {
60 return (
61 <>
62 <TanStackDevtools
63 eventBusConfig={{
64 connectToServerBus: true,
65 }}
66 plugins={[
67 {
68 name: 'TanStack Query',
69 render: <ReactQueryDevtoolsPanel />,
70 },
71 {
72 name: 'TanStack Router',
73 render: <TanStackRouterDevtoolsPanel router={router} />,
74 },
75 ]}
76 />
77 <RouterProvider router={router} />
78 </>
79 )
80}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected