GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — devtools-vite: `consolePiping` defaults can balloon dev logs to many GB when a hot warning loops · Issue #428 · TanStack/devtools Open DescriptionClaude here — opening this on David's behalf after we hit it on a TanStack Start project. Summary
Related but distinct: #342 (closed) — same subsystem, different symptom (request stalling). ReproductionMinimal TanStack Start project. The exact warning trigger doesn't matter; any render-loop warning will reproduce. Easiest case: a hydration error from invalid HTML nesting.
import { defineConfig } from 'vite' import { devtools } from '@tanstack/devtools-vite' import { tanstackStart } from '@tanstack/react-start/plugin/vite' import viteReact from '@vitejs/plugin-react' export default defineConfig({ plugins: [devtools(), tanstackStart(), viteReact()], }) A component with nested interactive elements (React 19 will warn on every render): export default function Card() { return ( <button onClick={() => {}}> <button onClick={(e) => e.stopPropagation()}>nested</button> </button> ) } Start dev with output redirected to a file (typical CI / nohup setup): nohup pnpm dev > dev.log 2>&1 & Visit the page and leave the tab open. Why it explodesEach repeat of the same warning produces:
There is no dedup of identical messages within a window, no rate-limit on emissions, and no overall log volume cap. Defaults question
Suggested fixes (any of these would help)
The hydration warning being emitted at all is correct (it's React doing its job) — the only thing the plugin needs to do is not turn one warning into a feedback loop. Environment
WorkaroundPass plugins: [ devtools({ consolePiping: { enabled: false } }), // ... ], This stopped log growth completely. We still get the actual hydration warning in the browser console (which is what we want), but no server-side amplification. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |