devtools/packages/solid-devtools
Alem Tuzlak 53805408af
chore: upgrade Vitest to v4 (#497)
* ci: stop Release test:lib flakes from runner overload

Release runs nx run-many across every package at nx.json parallel: 5.
That oversubscribes GitHub-hosted runners and flakes two test:lib jobs:

- @tanstack/devtools-ui: default 5s timeout on Solid + goober mounts
- @tanstack/devtools: vitest worker RPC stall (onTaskUpdate)

PR already caps NX_PARALLEL at 3 (#478). Apply the same cap to Release,
and raise the 30s test/hook timeouts on the remaining heavy UI packages.

* chore: upgrade Vitest to v4

Bump vitest from 3.2.4 to 4.1.10. Vitest 4 replaces the 60s
onTaskUpdate RPC timeout that failed Release after every
@tanstack/devtools test had already passed.

Migrate defineWorkspace to test.projects. Turn off Solid HMR in
tests so the module runner does not load /@solid-refresh. Update
mocks and timers that Vitest 4 types or isolates differently.
History 2026-08-12 16:20:22 +02:00
..
src feat: extract theme provider (#386) 2026-03-15 09:38:49 +01:00
CHANGELOG.md ci: Version Packages (#495) 2026-08-11 14:50:47 +02:00
eslint.config.js init 2025-07-25 16:40:55 -05:00
package.json ci: Version Packages (#495) 2026-08-11 14:50:47 +02:00
README.md docs: add README header banners to the framework adapter packages (#491) 2026-08-03 11:59:03 +02:00
tsconfig.docs.json init 2025-07-25 16:40:55 -05:00
tsconfig.json init 2025-07-25 16:40:55 -05:00
vite.config.ts chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00

TanStack Solid Devtools
# @tanstack/solid-devtools

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

Usage

import { TanStackDevtools } from '@tanstack/solid-devtools'
import { TanStackRouterDevtoolsPanel } from '@tanstack/solid-router-devtools'

function App() {
  return (
    <div>
      <h1>My App</h1>
      <TanStackDevtools
        plugins={[
          {
            name: 'TanStack Router',
            render: <TanStackRouterDevtoolsPanel router={router} />,
          },
        ]}
      />
    </div>
  )
}

Creating plugins

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

import { TanStackDevtools } from '@tanstack/solid-devtools'

function App() {
  return (
    <div>
      <h1>My App</h1>
      <TanStackDevtools
        plugins={[
          {
            id: 'your-plugin-id',
            name: 'Your Plugin',
            render: <CustomPluginComponent />,
          },
        ]}
      />
    </div>
  )
}