Update README.md

This commit is contained in:
2020-06-24 20:53:29 +02:00
committed by GitHub
parent 06c396387f
commit dbbc98e135

View File

@@ -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.