form
form copied to clipboard
Use standard schema object make unrelated fields render
Describe the bug
You can take a look at the example with schema object. Compare to the non-schema object version, it will re-render all fields of the form when user's editing a field
Your minimal, reproducible example
https://stackblitz.com/github/tanstack/form/tree/main/examples/react/standard-schema?embed=1&theme=dark&preset=node&file=src/index.tsx
Steps to reproduce
Just go to the demo site and use React Devtools
Expected behavior
It should not re-render other fields when user interacts with a specific field
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
OS Mac OS - Latest Chrome - Latest
TanStack Form adapter
react-form
TanStack Form version
v1.27.1
TypeScript version
v5.9
Additional context
No response