Answer the question
In order to leave comments, you need to log in
How to get express validator errors on client?
Can you please tell me how can I get express validator errors on the client through saga and dispatch them to the store, and then show them in ui?
I have a registration form, and I do validation on the client through yup, for the server I use express validator,
I want the server validation errors to be recorded in the same places as on the client.
What I don’t understand the most is how best to organize everything together, I use react -hook-form, redux-toolkit, redux-saga, express and express-validator, and yup for front-end validation. I would be very grateful for some article on this issue, because I don’t want to write the code anyhow, if only it worked, somehow
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question