Wern Ancheta
Mar 9, 2022 ⋅ 15 min read

React form validation solutions: An ultimate roundup

Wern Ancheta Fullstack developer, fitness enthusiast, skill toy hobbyist.

Recent posts:

Developing Web Extensions With Wxt

Developing web extensions with the WXT library

Browser extensions are an important part of the web ecosystem. They make our lives easier and enhance our web browsing […]

Debjyoti Banerjee
May 24, 2024 ⋅ 8 min read
Bulma Css Adoption Guide: Overview, Examples, And Alternatives

Bulma CSS adoption guide: Overview, examples, and alternatives

Explore how Bulma CSS simplifies frontend development with its ease of use and customizable, responsive, pre-designed UI elements.

Timonwa Akintokun
May 23, 2024 ⋅ 10 min read
Using Mountaineer To Develop A React App With Python

Using Mountaineer to develop a React app with Python

Develop a React app with Python using the Mountaineer framework for building a simple app with integrated your frontend and backend database.

Rosario De Chiara
May 23, 2024 ⋅ 7 min read
Enhance CSS View Transitions With Velevette

Enhance CSS view transitions with Velvette

Velvette is a utility library developed to make working with view transitions easier.

David Omotayo
May 22, 2024 ⋅ 9 min read
View all posts

6 Replies to "React form validation solutions: An ultimate roundup"

  1. Yeah, I just tried out `use-form-state` on a project and was pretty happy with it as a lighter-weight solution. Obviously not as full-featured as the other libs, but if you’re looking for something that’s small, removes the need to define a bunch of `onChange` handlers, and has good TS support, definitely try it out.

  2. The recurring problem I see with any those libraries is that:

    – you need to learn how to use it
    – your Js bundle gets heavier
    – the code complexity grows
    – it gets more difficult to maintain over the time, especially when you have longer forms

    I think we can implement form validation/submission just using HTML5 features – no library needed:

    What do you guys think?

Leave a Reply