Am I supposed to handle type-related errors on client side? (TRPC)
I'm using react-hook-forms, I'm just getting the data which I mostly assign to (string) as it'll get validated anyways on the server
but the LSP keeps nagging that I have to validate the form before submitting it
isn't it supposed to be server-side and that's it? What do you guys usually do in such case?
but the LSP keeps nagging that I have to validate the form before submitting it
isn't it supposed to be server-side and that's it? What do you guys usually do in such case?
// @ts-ignore and keep moving or actually fix it?
