The React Key Prop: How to reset component state, remove unnecessary effects, and write clearer code
If you've done any kind of frontend work, you've probably come across a form.
They're not difficult to implement in React. That said, there are edge cases that can lead to complex code if you're not careful.
One edge case involves using a single form...
blog.thesshguy.com4 min read