4 ms·
It doesn't make a lot of practical sense, but basically they want to reuse substantial amounts of server code as client code. A fundamental misunderstanding of
by pphysch 4y ago
It doesn't make a lot of practical sense, but basically they want to reuse substantial amounts of server code as client code. A fundamental misunderstanding of the client-server model, methinks.
- aheieosnssisowi 4y agoYou can't see a good reason to validate form inputs client side and use the exact same validations server side?
- pphysch 4y agoThat's nonsense. There are many validations that you don't trust to client to handle (or will require API calls, making "exact same" an unreasonable expectation). Ultimately, frontend validation is for UX and backend validation is for security. Different concerns, different capabilities, different code.