Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 306 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 306 Bytes

Working with Forms and User Input

Custom Input Hook

  • Outsources input value, isTouched state
  • Outsources the feature to check if input is valid and has error
  • Outsources event handlers for change, blur events
  • Oursources reset handler to rest input values
  • Uses useReducer for state management