DEV Community

Discussion on: The #1 Best Design Pattern for Managing Forms in React

Collapse
viniciusferreira profile image
Vinícius Ferreira

Do you recommend a better alternative to RHF, @lukeshiru ?

Collapse
lukeshiru profile image
Luke Shiru

If a form is complex enough that you need a library to handle it, that generally means that the form is too complex for the user as well, so my "alternative" generally is: Simplify the form so it produces a better UX, and that inherently will produce a better DX because instead of having to use a library for that, you can just use HTML validations and let the browser handle that, which produces a more accessible form that works with no JS.