mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-22 16:16:24 +00:00
Update README.md
This commit is contained in:
parent
06c396387f
commit
dbbc98e135
@ -26,7 +26,7 @@ npm i formhero
|
|||||||
- [**_Live Codesandbox_**](https://codesandbox.io/embed/formhero-simple-bdcx2?expanddevtools=1&fontsize=14)
|
- [**_Live Codesandbox_**](https://codesandbox.io/embed/formhero-simple-bdcx2?expanddevtools=1&fontsize=14)
|
||||||
- [**_Live React-Native_**](https://snack.expo.io/@cupcakearmy/useform)
|
- [**_Live React-Native_**](https://snack.expo.io/@cupcakearmy/useform)
|
||||||
|
|
||||||
### Links
|
### 📖 Docs
|
||||||
|
|
||||||
- [Examples](#-examples-more-here)
|
- [Examples](#-examples-more-here)
|
||||||
- [Validation](#validation)
|
- [Validation](#validation)
|
||||||
@ -46,7 +46,7 @@ npm i formhero
|
|||||||
- [setForm](#setform)
|
- [setForm](#setform)
|
||||||
- [setErrors](#seterrors)
|
- [setErrors](#seterrors)
|
||||||
|
|
||||||
## 🤔 Motivation
|
## 🤔 Motivation & Why
|
||||||
|
|
||||||
So why write yet another form utility you might ask? First off, I don't like the Formik approach. In my humble opition formik is very verbose and requires lots of boilerplate. Also does not work with hooks. [react-hook-form](https://react-hook-form.com/) is a very cool library and it is the main inspiration for formhero. It does almost everything right... typescript, no deps, small, concise.
|
So why write yet another form utility you might ask? First off, I don't like the Formik approach. In my humble opition formik is very verbose and requires lots of boilerplate. Also does not work with hooks. [react-hook-form](https://react-hook-form.com/) is a very cool library and it is the main inspiration for formhero. It does almost everything right... typescript, no deps, small, concise.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user