react-form-hooks
Version:
Create forms in react using hooks
37 lines (26 loc) • 2.11 kB
Markdown
# React Form Hooks
> React hooks for form state management using subscriptions.
[](https://github.com/blesswinsamuel/react-form-hooks/blob/master/LICENSE)
[](https://www.npmjs.com/package/react-form-hooks)
[](https://npmcharts.com/compare/react-form-hooks?minimal=true)
[](https://npmcharts.com/compare/react-form-hooks?minimal=true)
[](https://circleci.com/gh/blesswinsamuel/react-form-hooks)
[](https://codecov.io/gh/blesswinsamuel/react-form-hooks)
[](https://bundlephobia.com/result?p=react-form-hooks)
[](https://bundlephobia.com/result?p=react-form-hooks)
[](https://github.com/prettier/prettier)
## Features
- No external dependencies.
- Minimal API. Provides 3 hooks for managing form state - `useForm`, `useFormState`, `useFieldState`.
- Blazing Fast. Allows you to re-render form inputs only if necessary.
- Tiny Size. ~2KB gzipped.
## Install
```bash
npm install --save react-form-hooks
```
## Documentation
- [Getting Started](https://react-form-hooks.netlify.com/getting-started)
- [API](https://react-form-hooks.netlify.com/api)
- [Examples](https://react-form-hooks.netlify.com/examples)
## License
MIT © [blesswinsamuel](https://github.com/blesswinsamuel)