Skip to content

feat: add lightweight form state helper#89

Open
landeqiming666 wants to merge 1 commit into
streamich:masterfrom
landeqiming666:add-form-state-helper
Open

feat: add lightweight form state helper#89
landeqiming666 wants to merge 1 commit into
streamich:masterfrom
landeqiming666:add-form-state-helper

Conversation

@landeqiming666

Copy link
Copy Markdown

Summary

Adds a lightweight render-prop form state helper with field bindings, reset and submit helpers, plus withForm().

Included

  • Root package export and GitBook navigation
  • Type-safe form bag and field binding interfaces
  • Text and checkbox bindings, reset, submit and HOC coverage
  • Storybook example and focused documentation

Validation

  • yarn test
  • yarn build
  • git diff --check

Closes #25.

@landeqiming666

Copy link
Copy Markdown
Author

Hi, a brief follow-up on this PR. It remains clean and mergeable. The form-state helper is kept lightweight and covered by focused behavior tests. Happy to adjust the API surface or examples if preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forms

1 participant