From 8c9e0431a48ad57d690fdbfcc2d3dfa37b0f7eea Mon Sep 17 00:00:00 2001 From: grzdev Date: Sun, 6 Sep 2026 01:13:00 +0100 Subject: [PATCH] docs(solid-query): correct devtools development-mode explanation --- docs/framework/solid/devtools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/solid/devtools.md b/docs/framework/solid/devtools.md index 9f5f0945ce2..21ce3eb465f 100644 --- a/docs/framework/solid/devtools.md +++ b/docs/framework/solid/devtools.md @@ -45,7 +45,7 @@ You can import the devtools like this: import { SolidQueryDevtools } from '@tanstack/solid-query-devtools' ``` -By default, Solid Query Devtools are only included in bundles when `isServer === true` ([`isServer`](https://github.com/solidjs/solid/blob/a72d393a07b22f9b7496e5eb93712188ccce0d28/packages/solid/web/src/index.ts#L37) comes from the `solid-js/web` package), so you don't need to worry about excluding them during a production build. +By default, Solid Query Devtools are only enabled in development mode (`isDev` from `solid-js/web`). In production, the devtools components render nothing. During development, the devtools are loaded only on the client and are not rendered on the server. ## Floating Mode