Re:Don’t Build a General Purpose API to Power Your Own Front...
by yakshaving_jgt on Wednesday August 23, 2023 @03:00AM
(#37232696)
Ok. I don't see it that way. Most SPAs on the internet should never have been SPAs and it's usually poor judgement which leads a project in that direction. That poor judgement includes things like the characterisation of full page reloads as overly cumbersome and asynchronous requests as being lightweight. It also includes the expensive decision to try to reimplement the native browser behaviour that you get for free, as the commenter alluded to by suggesting asynchronous requests can be programmed to show a custom UI for error messages and use custom behaviour for retries of failed requests.
I believe I have indeed taken the time to understand what people are saying in these comments specifically and on this topic more broadly. And I just don't agree with the opinions presented. I think they're silly, in the same way that microservices are almost always adopted for silly reasons. The popularity of either approach doesn't negate their silliness.
Re:Don’t Build a General Purpose API to Power Your Own Front...
by valenterry on Wednesday August 23, 2023 @07:51AM
(#37234463)
You are doing it again...
You’re talking past people, not taking the time to understand what they’re saying, and then being dismissive when they reply.