use-state-validate
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "use-state-validate", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Custom hook to account for state and validation off single state value", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -24,7 +24,5 @@ # use-state-validate | ||
## Summary | ||
This package contains a custom hook that blends `useState` and field validation. `useStateValidate` if focused on the | ||
This package contains a custom hook that blends `useState` and field validation. `useStateValidate` is focused on the | ||
validation of single state values in your form and does not try to handle all of the form logic. My motivation was to | ||
create a clean and terse pattern for dealing with state validation in react. There are MANY libraries and packages out | ||
there, but none have resonated with me just yet. So here we are... Enjoy and I hope this helps you in your next project. | ||
Please reach out to me or throw an issue on my gitlab if you have any troubles 😀 | ||
create a clean and terse pattern for dealing with state validation in react. There are MANY libraries and packages out there, but none have resonated with me just yet. So here we are... Enjoy and I hope this helps you in your next project. Please reach out to me or throw an issue on my gitlab if you have any troubles 😀 | ||
@@ -31,0 +29,0 @@ Also, please consult `validate` at https://www.npmjs.com/package/validate for possible rules to use. |
8581
112