@alexjamesmalcolm/use-validation

A React hook abstraction of the Constraint Validation API that supports asynchronous validation and custom error messages.

Usage no npm install needed!

<script type="module">
  import alexjamesmalcolmUseValidation from 'https://cdn.skypack.dev/@alexjamesmalcolm/use-validation';
</script>

README

npm GitHub Workflow Status (branch) Coveralls github npm bundle size MIT License

useValidation

A React hook abstraction of the Constraint Validation API that supports asynchronous validation and custom error messages.

Documentation

Read the documentation, if there's a concept you'd like further explained or a feature you would like requested you can open an issue.