スキル一覧に戻る
fusengine

react-forms

by fusengine

Redefining development through cognitive automation and collaborative agent systems.

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: react-forms description: TanStack Form with Zod validation - type-safe, headless, performant forms. Use when building forms, implementing validation, or handling form submissions in React. user-invocable: false

TanStack Form

Headless, type-safe, and performant form state management.

Quick Start

bun add @tanstack/react-form zod

Basic form with useForm hook and field rendering:

import { useForm } from '@tanstack/react-form'

function LoginForm() {
  const form = useForm({
    defaultValues: { email: '', password: '' },
    onSubmit: async ({ value }) => await loginUser(value),
  })

  return (
    <form onSubmit={(e) => { e.preventDefault(); form.handleSubmit() }}>
      <form.Field name="email" children={(field) => (
        <input value={field.state.value} onChange={(e) => field.handleChange(e.target.value)} />
      )} />
      <button type="submit">Login</button>
    </form>
  )
}

References

1. Core Concepts

See tanstack-form-basics.md for:

  • useForm hook configuration
  • Form state subscription with form.Subscribe
  • Dynamic field arrays with add/remove
  • Handling form submission

2. Validation

See zod-validation.md for:

  • Inline field validators
  • Zod schema validation integration
  • Async validation with debouncing
  • Custom error display

3. UI Integration

See shadcn-integration.md for:

  • Using shadcn/ui components
  • Reusable field wrappers
  • Button state management patterns

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です