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

Function RootDocument

e2e/apps/react-start/src/routes/__root.tsx:25–53  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

23})
24
25function RootDocument({ children }: { children: React.ReactNode }) {
26 return (
27 <html lang="en">
28 <head>
29 <HeadContent />
30 </head>
31 <body>
32 {children}
33 <TanStackDevtools
34 eventBusConfig={{ connectToServerBus: true }}
35 plugins={[
36 {
37 id: 'demo',
38 name: 'Demo',
39 defaultOpen: true,
40 render: <div data-testid="demo-plugin">demo plugin content</div>,
41 },
42 {
43 id: 'event-probe',
44 name: 'Event Probe',
45 render: <EventProbePanel />,
46 },
47 ]}
48 />
49 <Scripts />
50 </body>
51 </html>
52 )
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected