TanStackOSS
    form
  1. Overview

form

GitHub
OverviewRunsAnalytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days30 days

Latest CI Pipeline Executions

Sort by
  • Succeeded
    main

    d756476b fix(react-form): use fresh FieldApi in current render on name change (#2240) * fix(react-form): use fresh FieldApi in current render on name change When a field's `name` changes (e.g. a non-last item is removed from a stably-keyed array), `useField` created a new FieldApi via `setFieldApi` during render but continued the current render pass with the stale instance. React discards that pass, but the render prop still runs to completion once with the stale FieldApi, whose store derives `undefined` for the path that no longer exists at the old index. This briefly surfaces `state.value === undefined` for surviving array items, crashing render code that treats the value strictly. Adjust state during render but also use the freshly created FieldApi for the remainder of this render, so the field reads state at its current `name`. Keeps the setState-based identity (React Compiler safe) while restoring the pre-1.27.0 behavior. Closes #2238 * chore: add changeset --------- Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>

    by Mark Xian

    M

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools