|
|
|
|
|
by rcamargo
518 days ago
|
|
Over the past few years, I've tried out a bunch of libraries that claimed to make React form validation easier. My takeaway? They're annoyingly intrusive and make the code way more complex than it needs to be. In this post, I'm sharing a library-free approach that is stupidly simple and has worked like a charm for my form validations. By writing just 2 functions, I avoid a whole library. |
|
I'm already working with React and it's behaviors, don't need something surprisingly large to learn for ... a form.