react-inform-addons

Some add-ons for react-inform.

Usage no npm install needed!

<script type="module">
  import reactInformAddons from 'https://cdn.skypack.dev/react-inform-addons';
</script>

README

react-inform-addons

Some add-ons for react-inform.

This package is kind of deprecated, because react-inform is abandoned and still has some design issues. react-foobar is a W.I.P. replacement library for react-inform.

Features

  • submit button, enabled until clicked, then disabled until form is valid and disabled while submitting
  • higher order component to pass form instance and enable listening to onSubmit event

Todo

  • unit tests
  • usage examples

Warning

This works with old unofficial context syntax and old lifecycle methods.

License

MIT