News for hackers. Stuff that matters.
Re:A Real World React – Htmx Port by 0xCMP on Saturday October 15, 2022 @10:51PM (#33220660)
It's more straight forward when you have multiple kinds of frontends (iOS, Android, Web app), but if it's just a Web App it's less complex to just return HTML.

The default today to make an API is because we assume it'll have multiple frontends or because we want to make it easier to change frontends. That does not make it more secure; it's just a trade off we, as an industry, have made to deal with the reality of delivering apps/services to users.

There are no comments on this comment yet.