News for hackers. Stuff that matters.
Re:htmx 2.0.0-beta1 by hirvi74 on Sunday March 17, 2024 @03:45PM (#39737382)
> SPAs require implementing safety checks on both sides in 2 different languages.

This isn't exclusive to SPAs. For example, I am a .Net dev, and I have both front-end and back-end validation in most of my applications without ever using any SPA frameworks.

If I am in a pinch for time, I sometimes just drop front-end validation completely, and let the server handle the validation and then have the front-end handle the server validation responses accordingly.

There are no comments on this comment yet.