Skip to content

Extremely low performance with large nested fields. #1805

@IvanKalinin

Description

@IvanKalinin

Describe the bug

When the form contains large nested arrays, it works extremely slowly.

Here is the link to replicate the issue

Uncomment line 56 // return <p>{barItem.name}</p>; to see the tree renders fast without form.Field wrapper

Your minimal, reproducible example

ttps://codesandbox.io/p/sandbox/cjs7rm

Steps to reproduce

Render a form with large nested fields.

Expected behavior

The fields are expected to be rendered without the unresponsive delay.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • Any OS
  • Any browser

TanStack Form adapter

None

TanStack Form version

1.23.6

TypeScript version

No response

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