logoalt Hacker News

chuckadamsyesterday at 9:06 PM7 repliesview on HN

I remember when the point of an SPA was to not have all these elaborate conversations with the server. Just "here's the whole app, now only ask me for raw data."


Replies

mubou2today at 12:09 AM

It's funny (in a "wtf" sort of way) how in C# right now, the new hotness Microsoft is pushing is Blazor Server, which is basically old-school .aspx Web Forms but with websockets instead of full page reloads.

Every action, every button click, basically every input is sent to the server, and the changed dom is sent back to the client. And we're all just supposed to act like this isn't absolutely insane.

show 7 replies
pjmlpyesterday at 9:51 PM

Until they discovered why so many of us have kept with server side rendering, and only as much JS as needed.

Then they rediscovered PHP, Rails, Java EE/Spring, ASP.NET, and reboted SPAs into fullstack frameworks.

show 2 replies
tshaddoxyesterday at 9:12 PM

That was indeed one of the main points of SPAs, but React Server Components are generally not used for pure SPAs.

show 2 replies
hedayetyesterday at 10:03 PM

I'd be interested in adopting a sole-purpose framework like that.

rustystumpyesterday at 9:41 PM

It also decoupled fe and backend. You could use the same apis for say mobile, desktop and web. Teams didnt have to cross streams allowing for deeper expertise on each side.

Now they are shoving server rendering into react native…

moomoo11yesterday at 11:11 PM

I think people just never understood SPA.

Like with almost everything people then shit on something they don’t understand.