/custom-react-hooks-forms

Using Custom React Hooks to Simplify Forms

Primary LanguageJavaScript

A fork of the code from this tutorial for building this project can be found over at Upmostly.com: Using Custom React Hooks to Simplify Forms.

Changes:

  • replaced Bulma with rbx components
  • incorporated suggestions from comments section on simplifying usage and avoiding a uncontrolled to controlled error
  • added optional second argument for initializating fields
  • added support for checkboxes
  • added select example with initialization
  • added checkbox example

A login form built in React and rbx, using custom React Hooks to power the form