devtools/packages/devtools
github-actions[bot] 71b2ad0bb6
ci: Version Packages (#506)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-08-19 18:56:50 +02:00
..
bin ci: Version Packages (#380) 2026-03-11 14:39:21 +01:00
skills feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02:00
src feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02:00
tests feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02:00
CHANGELOG.md ci: Version Packages (#506) 2026-08-19 18:56:50 +02:00
eslint.config.js init 2025-07-25 16:40:55 -05:00
package.json ci: Version Packages (#506) 2026-08-19 18:56:50 +02:00
README.md chore: fix readme 2025-08-09 18:06:05 +02:00
tsconfig.docs.json init 2025-07-25 16:40:55 -05:00
tsconfig.json fix: safe build for target ssr (#109) 2025-09-05 17:29:36 +02:00
tsup.config.ts feat: add new tanstack logo (#113) 2025-09-08 13:34:16 +02:00
vite.config.ts chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00

@tanstack/devtools

This package is still under active development and might have breaking changes in the future. Please use it with caution.

General Usage

import { TanStackDevtoolsCore } from '@tanstack/devtools'

const devtools = new TanStackDevtoolsCore({
  options: {
    // your options here
  },
  plugins: [
    // your plugins here
  ],
})

devtools.mount(document.getElementById('your-devtools-container')!)

Creating plugins

In order to create a plugin for TanStack Devtools, you can use the plugins arg of the TanStackDevtoolsCore class. Here's an example of how to create a simple plugin:

import { TanStackDevtoolsCore } from '@tanstack/devtools'

const devtools = new TanStackDevtoolsCore({
  config: {
    // your config here
  },
  plugins: [
    {
      id: 'my-plugin',
      name: 'My Plugin',
      render: (el) => (el.innerHTML = '<div>My Plugin Content</div>'),
    },
  ],
})