Developer Advocate at Superface·

Few years ago we were building a Next.js site with a few simple forms. This required handling forms validation and submission, but instead of picking some forms library, we went with plain JavaScript and constraint validation API in HTML5. This shaved off a few KBs of dependencies and gave us full control over the validation behavior and look. I describe this approach, with its pros and cons, in a blog post.

26 upvotes·354.7K views
Avatar of Jan Vlnas

Jan Vlnas

Developer Advocate at Superface