All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- useIdleTimer hook
- useLocalStorageState hook
- Typescript
- Updated dependencies
useValidate
presence validator no longer rejects empty values per default. The optionallowEmpty
can be set to false to prevent passing them through.
onError
andonSuccess
callbacks touseValidate
useValidate
returnsvalidate
function
reset
resets toinitialvalues
- Add
reset
function touseFormState
anduseStep
complete
anduncomplete
functions take current step as default argument
- Add
updateAll
function touseFormState
- First stable version
- useDebounce hook
- useThrottle hook
- useForm renamed to useFormState
- useValidate hook
- Set react and react-dom as peerDependencies
- Build scripts
- Generate cjs and esm bundles in dist folder
- Add example using useToggle
- Export useToggle
- Export useToggle
- useToggle hook
- useOnClickOutside hook
- useOnScroll hook
- CHANGELOG file
- Removed Storybook
- useForm hook
- useStep hook
- Scaffold project