Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

index.tsx

22 lines437 Bytes

1import { render } from 'preact'
2import { TanStackDevtools } from '@tanstack/preact-devtools'
3​
4import App from './App'
5import CustomDevtoolPanel from './CustomDevtoolsPanel'
6​
7render(
8 <>
9 <App />
10​
11 <TanStackDevtools
12 eventBusConfig={{ debug: true }}
13 plugins={[
14 {
15 name: 'Custom devtools',
16 render: <CustomDevtoolPanel />,
17 },
18 ]}
19 />
20 </>,
21 document.getElementById('root')!,