loading...

React and forms validation

rossanodan profile image Rossano D'Angelo ・1 min read

Hi guys, a question: how do you deal with forms and forms validation developing with React? Do you know/use any best practice or any convention?

Discussion

pic
Editor guide
 

I don't know about any best practices, not meaning that there aren't some, but i simply don't know them (yet) :).
But what i did in several projects was creating inputfields that were validated.
If a validation in one of the required inputfields was not fulfilled nothing could happen, that would have any effect on the redux store or the api call at the end.