awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
TanStack avatar

TanStack/form

0
View on GitHub↗
6,584 星标·657 分支·TypeScript·MIT·4 次浏览tanstack.com/form↗

Form

TanStack Form is a cross-framework form state management library that provides typed fields, validation, and submission across React, Vue, Angular, Solid, Lit, Svelte, and Preact. It uses a shared form model that adapts to different UI frameworks while preserving the same validation and submission logic, and offers headless form controls that impose no UI markup, letting developers bring their own inputs and design system.

The library distinguishes itself through granular state subscription, where components subscribe to narrow slices of form or field state using reactive primitives, so only the relevant UI re-renders on each change instead of the entire component tree. It supports typed form validation with full TypeScript inference, running synchronous validators on field changes and debounced asynchronous checks for slow business rules, keeping field names, values, and errors connected through refactors.

The project covers form field definition with type-safe APIs, submission of typed form data with inferred value shapes, and validation with both sync and async rules. It provides framework-specific adapters while keeping the same typed form model and validation strategy, and supports subscribing to granular form or field state to prevent unnecessary re-renders on large forms.

Features

  • Cross-Framework Form Libraries - A cross-framework form state management library providing typed fields, validation, and submission across multiple UI frameworks.
  • Async Form Validators - Runs synchronous validators per field and debounced asynchronous checks for slow business rules.
  • Async Validators - Runs debounced async validators per field that keep the form responsive during slow business rule checks.
  • Async Form Validators - Runs synchronous validators on field changes and debounced asynchronous checks for slow business rules.
  • Typed Validators - Defines form fields with full TypeScript inference and runs sync or async validators that keep field names, values, and errors connected.
  • Header Groupings - Computes nested header levels into groups, each with headers that offer header-specific APIs.
  • Stale Cache Refetching - Keeps local data synchronized with the server by refetching when the application detects stale information.
  • Granular State Subscriptions - Subscribes components to narrow slices of state so only relevant UI re-renders on each change.
  • Framework-Specific Integrations - Provides framework-specific adapters so the same store works across React, Solid, Vue, Angular, Svelte, and Lit.
  • Headless Component Logic - Provides framework-agnostic hooks and controllers for UI state management, letting developers bring their own markup and design system while sharing the same logic across React, Vue, Angular, and others.
  • Schema-Driven Type Inference - Derives TypeScript types from Zod schemas at compile time, ensuring tool inputs, outputs, and form values remain type-safe across refactors without manual type declarations.
  • Schema Type Inference - Derives TypeScript types from Zod schemas to ensure tool inputs and outputs match declared interfaces.
  • Data Table State Managers - Provides a core table object that exposes both the current state and programmatic methods for manipulation.
  • Column Definitions - Defines a column's data model, display template, and behavior through a declarative configuration object.
  • Form and Input Management - Provides a shared typed form model that works across React, Vue, Angular, Solid, Lit, Svelte, and Preact.
  • Cross-Framework Form Models - Provides a shared typed form model that works across React, Vue, Angular, Solid, Lit, Svelte, and Preact.
  • Form State Management - Handles form state, validation, and submission with type-safe APIs across multiple frontend frameworks.
  • Type-Safe Form Submissions - Passes the inferred value shape to submit handlers, eliminating hand-assembled payloads and keeping types through submission.
  • Headless Form Management - Provides headless form controls that impose no UI markup, letting developers bring their own inputs and design system.
  • Table Cell Definitions - Exposes row and cell objects that mirror the underlying data and provide APIs for per-row and per-cell operations.
  • Form Field State Management - Defines fields with full TypeScript inference for values, errors, validators, and submit payloads, keeping the entire form model type-safe.
  • Typed Field Definitions - Defines form fields with full TypeScript inference so field names, values, validators, and errors stay connected through refactors.
  • Form State Subscriptions - Provides reactive subscriptions that let components observe only the specific form state they need.
  • Granular Subscriptions - Subscribes components to narrow slices of form or field state so only the relevant UI re-renders on each change.
  • Form Type Narrowing - Passes the inferred value shape of the entire form to submit handlers, eliminating hand-assembled payloads.
  • Typed Route Navigators - Creates a contract from route files that connects params, search schemas, loader data, and links into a type-safe API.
  • State Inspection Interfaces - Opens a shared development panel that displays cache, routes, mutations, queues, and custom state.
  • Custom Debug Panels - Adds product-specific inspectors for feature flags, sync jobs, queues, or any custom state.
  • Single-Point Devtool Mounts - Attaches a single lightweight devtools interface near the app root that works across multiple frameworks.
  • Unified Debugging Shells - Opens a shared panel that aggregates inspectors for multiple libraries and custom product state.
  • Route Lifecycle Handlers - Manages pending UI, errors, not-found states, and code splitting per route.
  • Form Management - Headless UI form handling with TypeScript support.
  • Forms - Listed in the “Forms” section of the Awesome React awesome list.
  • Forms and Validation - Headless, type-safe form state management.

Star 历史

tanstack/form 的 Star 历史图表tanstack/form 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Form 的开源替代方案

相似的开源项目,按与 Form 的功能重合度排序。
  • tanstack/virtualTanStack 的头像

    TanStack/virtual

    6,971在 GitHub 上查看↗
    TypeScriptjavascriptperformancereact
    在 GitHub 上查看↗6,971
  • tanstack/routerTanStack 的头像

    TanStack/router

    14,681在 GitHub 上查看↗

    TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search parameters, and data loaders across the entire application stack. It functions as a comprehensive framework for server-side rendering, enabling the generation of complete HTML pages to improve initial load performance and search engine optimization. By integrating declarative data fetching, the library manages asynchronous information at the route level, supporting preloading, caching, and parallel request execution to ensure data is ready before components render. The project

    TypeScriptframeworkfullstackjavascript
    在 GitHub 上查看↗14,681
  • tanstack/dbTanStack 的头像

    TanStack/db

    3,604在 GitHub 上查看↗

    This project is a client-side data management library and query orchestrator designed to synchronize remote server state with local client state. It functions as a type-safe state manager and cache orchestrator that coordinates data loading across diverse backends, including REST, GraphQL, and WebSockets. The system distinguishes itself through a durable workflow engine for executing asynchronous functions with persisted state and deterministic replay. It also provides a standardized AI integration adapter to connect large language models to application data, supporting real-time response str

    TypeScript
    在 GitHub 上查看↗3,604
  • tanstack/tableTanStack 的头像

    TanStack/table

    28,119在 GitHub 上查看↗

    TanStack Table is a headless, framework-agnostic engine designed for building complex data grids and managing tabular state. By decoupling data processing logic from the visual rendering layer, it allows developers to implement custom user interfaces while offloading sophisticated operations like sorting, filtering, grouping, and pagination to a unified, performant core. The library distinguishes itself through its commitment to type safety and environment flexibility. It leverages strict type definitions to ensure data integrity across the entire application and utilizes an adapter pattern t

    TypeScriptdatagriddatagridsdatatable
    在 GitHub 上查看↗28,119
查看 Form 的所有 30 个替代方案→

常见问题解答

tanstack/form 是做什么的?

TanStack Form is a cross-framework form state management library that provides typed fields, validation, and submission across React, Vue, Angular, Solid, Lit, Svelte, and Preact. It uses a shared form model that adapts to different UI frameworks while preserving the same validation and submission logic, and offers headless form controls that impose no UI markup, letting developers bring their own inputs and design system.

tanstack/form 的主要功能有哪些?

tanstack/form 的主要功能包括:Cross-Framework Form Libraries, Async Form Validators, Async Validators, Typed Validators, Header Groupings, Stale Cache Refetching, Granular State Subscriptions, Framework-Specific Integrations。

tanstack/form 有哪些开源替代品?

tanstack/form 的开源替代品包括: tanstack/virtual. tanstack/router — TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search… tanstack/db — This project is a client-side data management library and query orchestrator designed to synchronize remote server… tanstack/table — TanStack Table is a headless, framework-agnostic engine designed for building complex data grids and managing tabular… filamentphp/filament — Filament is a full-stack framework for building administrative panels and management interfaces within the Laravel… alibaba/formily — Formily is a schema-driven framework designed for building complex web forms by decoupling business logic and…