Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/framework/react/guides/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ npm i @tanstack/react-devtools
npm i @tanstack/react-form-devtools
```

Next in the root of your application import the `TanstackDevtools`.
Next in the root of your application import the `TanStackDevtools`.

```tsx
import { TanstackDevtools } from '@tanstack/react-devtools'
import { TanStackDevtools } from '@tanstack/react-devtools'

import App from './App'

createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />

<TanstackDevtools />
<TanStackDevtools />
</StrictMode>,
)
```

Import the `FormDevtoolsPlugin` from **TanStack Form** and provide it to the `TanstackDevtools` component.
Import the `FormDevtoolsPlugin` from **TanStack Form** and provide it to the `TanStackDevtools` component.

```tsx
import { TanstackDevtools } from '@tanstack/react-devtools'
import { TanStackDevtools } from '@tanstack/react-devtools'
import { FormDevtoolsPlugin } from '@tanstack/react-form-devtools'

import App from './App'
Expand All @@ -42,11 +42,11 @@ createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />

<TanstackDevtools plugins={[FormDevtoolsPlugin()]} />
<TanStackDevtools plugins={[FormDevtoolsPlugin()]} />
</StrictMode>,
)
```

Finally add any additional configuration you desire to the `TanstackDevtools` component, more information can be found under the [TanStack Devtools Configuration](https://tanstack.com/devtools/) section.
Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](https://tanstack.com/devtools/) section.

A complete working example can be found in our [examples section](https://tanstack.com/form/latest/docs/framework/react/examples/devtools).