Skip to content

v1.0.0: Feature: added a `useClearErrors` hook.

Compare
Choose a tag to compare
@MrHus MrHus released this 20 Sep 11:20
· 17 commits to master since this release
It can be used to reset the errors when a form is displayed again.
This way the errors to not linger around when the user navigates away
and back to the form.

Minor changes:

  1. Updated to TypeScript 3.6.3
  2. Locked dev dependencies.
  3. Made husky and lint-stage actually work.
  4. Ran `npm audit fix`