DEV Community

Discussion on: Looking for the Best React Form Library? It’s Probably on This List

Collapse
 
dastasoft profile image
dastasoft

I usually use React Hook Forms, they are updating the library often and with the context it is very easy to create components that take advantage of the form utilities they provide.

If the form is big enough the combination of React Hook Forms + Yup is awesome, I used to really hate working with forms but now I can admit it's very affordable.

Collapse
 
sunpietro profile image
Piotr Nalepa

The only downside of it is its asynchronicity. Whenever you need to get the most actual data you need to use useWatch or watch from useForm hook. They decrease performance heavily.

Collapse
 
hidaytrahman profile image
Hidayt Rahman

Also, It doesn't work properly in case of setting the default value.

Thread Thread
 
sunpietro profile image
Piotr Nalepa

I haven't been in such situation before.

Thread Thread
 
hidaytrahman profile image
Hidayt Rahman • Edited

But when you use this with material UI. you will get to know how complex is this to handle the default value.

Some comments have been hidden by the post's author - find out more