-
-
Notifications
You must be signed in to change notification settings - Fork 547
Closed
Description
Describe the bug
Hello,
I'm experiencing lot of logs from the dev tools being written in the console on production builds.
You can see it on my app here for instance: https://app.subnoto.com/login
Initially asked here: #1849
Your minimal, reproducible example
Steps to reproduce
This happens in both dev and build mode but this should mainly be fixed for build (production) mode.
To see a live demo:
- Go to https://app.subnoto.com/login
- Open debug logs in the console
I took the simple example and removed the custom devtools plugin, just kept only react-form and it allows to reproduce the bug.
To see a version with minimal code:
- Clone Mikescops@fc06537
pnpm --filter @tanstack/form-example-react-simple buildpnpm --filter @tanstack/form-example-react-simple preview
Expected behavior
No logs should be written on production builds.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Version: "@tanstack/react-form": "1.23.9",
I have other tanstack libraries if that may have an impact:
"@tanstack/react-form": "1.23.9",
"@tanstack/react-query": "5.90.8",
"@tanstack/react-table": "8.21.3",
TanStack Form adapter
None
TanStack Form version
1.23.9
TypeScript version
5.9.3
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels