devtools/packages/solid-devtools
Alem Tuzlak bbe529ad64
fix: require solid-js 1.9.13 or later (#543)
* fix: require solid-js 1.9.13 or later

The Solid compiler emits `use` from solid-js/web for every `ref`, and
devtools-ui 0.7.0 added a ref to ThemeContextProvider. The server build of
solid-js exported `use` only from 1.9.13, so SSR apps with solid-js 1.9.12
or earlier in their lockfile failed with `"use" is not exported`.

The dependency and peer ranges were ">=1.9.7" and "^1.9.9", so resolvers kept
the old versions. They now start at 1.9.13. The lockfile moves to solid-js
1.9.15 and no other package changes.

1.9.11+ also has the seroval security fix from #410.

Fixes #511
Fixes #410

* chore: use the same solid-js range in the Solid examples and e2e app

sherif requires one range per dependency across the workspace. The
examples and the Solid e2e app still asked for ^1.9.9. The lockfile already
resolved them to 1.9.15, so only the specifiers change.

* chore: raise the devtools size limit to 67 KB
History 2026-10-29 16:45:23 +01:00
..
src feat: extract theme provider (#386) 2026-03-15 09:38:49 +01:00
CHANGELOG.md ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
eslint.config.js init 2025-07-25 16:40:55 -05:00
package.json fix: require solid-js 1.9.13 or later (#543) 2026-10-29 16:45:23 +01: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>
  )
}