Here is a really useful little function that I use all the time in my react applications. It just picks out the value from the event target, which is what I usually need access to

#NoEffortNovember #webdev #reactjs #javascript

This is a similar function for checkboxes and radio buttons.

#NoEffortNovember #webdev #reactjs #javascript

And this is the third tiny function I have in all my react projects. It simply prevents the default action from happening.

#NoEffortNovember #webdev #reactjs #javascript