4 ms·
1. There was one library that would generate types for your routes but it doesn't work properly with the new vite config. I think one of the contributors is wor
by aniforprez 3y ago
1. There was one library that would generate types for your routes but it doesn't work properly with the new vite config. I think one of the contributors is working on a library to add that to vite
2. I use remix-hook-forms. It's got helpers that validate on server side and lets you send the errors back to the client and that will display the error on the frontend. This way you can have server side additional validations and send those errors to the client