Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
haukur
· 9y ago · 0 comments
In case anyone reads this and is left wondering, there's no need to have n functions to handle n inputs - you only need one. A simple example would be to set the state based on `event.target.name`.
Comments
No comments yet.
Better HN