An enterprise React app I am currently working with takes about 50 requests to fully render the app post-login. Switching to another view (no reload) takes another few dozen. That's a lot of "server interactions", pretty standard for SPAs, but YMMV.
Re:Htmx Is the Future
by traverseda on Friday May 05, 2023 @05:32PM
(#35835384)
I... don't believe you? Like looking at the network request of any SPA I've ever seen there's just tons of requests for even simple page loads. One for main content, one for profiles, one for comments, etc.
In theory stuff like graphql helps but in the reality I'm living in SPA's hit multiple endpoints to get render even simple pages.
I'm aware that they call it "reactive" but I'll stick with my rationale. There is no way they would use a Google product like that.