form
form copied to clipboard
[SolidJS] handleChange triggers reactions of other fields 5 times
Describe the bug
Changing the value of a field seems to trigger reactions of all other observers as well, causing every field to trigger effects 5 times.
Your minimal, reproducible example
https://stackblitz.com/~/github.com/jeroenpg/tanstack-form-unnecessary-rerender
Steps to reproduce
Pressing the button updates its own field, but some reason it triggers reactions in all other fields 5 times, every single time. Even though they are unrelated.
Expected behavior
Should trigger zero times since they're unrelated.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Linux Brave
TanStack Form adapter
None
TanStack Form version
^1.3.2
TypeScript version
^5.7.2
Additional context
No response
fyi #1380 seems to be related, perhaps even the same