@bruqui/form-controller

React hook form controller to validate and handle form submissions.

Usage no npm install needed!

<script type="module">
  import bruquiFormController from 'https://cdn.skypack.dev/@bruqui/form-controller';
</script>

README

This project was bootstrapped with Create React App.

This is a React custom hook to use with forms. It adds the following functionality to your form

  • client side field validation
  • prevents multiple form submissions
  • disables submit button when form is submitting or when there are field/form errors.

This is still a work in progress. It is not ready and in the middle of testing it. Documentation of the usage to come.