Skip to content

[SolidJS] handleChange triggers reactions of other fields 5 times #1405

@jeroenpg

Description

@jeroenpg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions