Open History to see the last commit
1import { StrictMode } from 'react'
2import { createRoot } from 'react-dom/client'
3import { TanStackDevtools } from '@tanstack/react-devtools'
4β
5import App from './App'
6import CustomDevtoolPanel from './CustomDevtoolsPanel'
7β
8createRoot(document.getElementById('root')!).render(
9 <StrictMode>
10 <App />
11β
12 <TanStackDevtools
13 eventBusConfig={{ debug: true }}
14 plugins={[
15 {
16 name: 'Custom devtools',
17 render: <CustomDevtoolPanel />,
18 },
19 ]}
20 />
21 </StrictMode>,
22)