A nice way to handle form states in ReactJS
ReactJS form states with useState hook
example
{/* state */}
const [person, setPerson] = useState({firstName:'', email:'', age:''})
const [people, setPeople] = useState([])
<input
type='text'
id='firstName'
name='firstName'
value={person...
techbites.hashnode.dev1 min read