Joshua-Disney / shopping-list-frontend

MIT License
0 stars 1 forks source link

Unnecessarily Preventing Default #25

Open indifferentghost opened 4 years ago

indifferentghost commented 4 years ago

These .preventDefaults are unneeded. The most common use of preventDefault is to stop a form from refreshing onSubmittion

indifferentghost commented 4 years ago

This wouldn't be an issue if you were using react-hook-form [#20]