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

index.tsx

20 lines488 Bytes

1import * as React from 'react'
2import { createRoot } from 'react-dom/client'
3​
4import { TanStackDevtools } from '@tanstack/react-devtools'
5import { formDevtoolsPlugin } from '@tanstack/react-form-devtools'
6​
7import App from './App.tsx'
8​
9const rootElement = document.getElementById('root')!
10​
11createRoot(rootElement).render(
12 <React.StrictMode>
13 <App />
14​
15 <TanStackDevtools
16 config={{ hideUntilHover: true }}
17 plugins={[formDevtoolsPlugin()]}
18 />
19 </React.StrictMode>,