DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
dan_abramov profile image
Dan Abramov

I don’t know, but hopefully both before you send it, and on the server (in case the request is spoofed). 🙂

As for where exactly, well, wherever you post the form. I don’t quite understand what confuses you, can you elaborate?

Collapse
 
megatroom profile image
Bruno Nardini • Edited

Thanks for answere, I'm big fan of your work. As you said, I need validate before send it to server, but also receive validation from the server in response. I dont know if I put this validations rules in Saga, in React component or some where ele. Today I have a custom function with custom generic validation that I use in Saga before and after post to server, and save the validation in redux store to render in components.