Re:Ask HN: What is the single top-priority software engineer...
by chubot on Tuesday February 11, 2020 @02:41AM
(#22296787)
Why do you think you lose personalization? That's an independent issue.
I don't mean the site is completely static. I mean the site is rendered on the server, like how 99% of websites worked before 2010 or so, including Google's. Those sites were personalized.
A shorthand for the argument is jQuery vs. React. jQuery enhances a document; React "takes over" the page to give you an app. There are limitations of jQuery which is why I didn't say that specifically, but that's the general idea.
----
I'm finding in the last 5 years that people "forgot" how websites were made. It seems like the "default" mode of thinking switched to SPA. SPA makes some things more convenient and other things less convenient, but it's totally independent of functionality, like whether the site is personalized or not.
Ironically SPA seems to be so slow that people now render it on the server, which is totally bizarre to me.
I don't mean the site is completely static. I mean the site is rendered on the server, like how 99% of websites worked before 2010 or so, including Google's. Those sites were personalized.
A shorthand for the argument is jQuery vs. React. jQuery enhances a document; React "takes over" the page to give you an app. There are limitations of jQuery which is why I didn't say that specifically, but that's the general idea.
----
I'm finding in the last 5 years that people "forgot" how websites were made. It seems like the "default" mode of thinking switched to SPA. SPA makes some things more convenient and other things less convenient, but it's totally independent of functionality, like whether the site is personalized or not.
Ironically SPA seems to be so slow that people now render it on the server, which is totally bizarre to me.
----
Update: This comment in the same thread goes into the issue of state management, and performance: https://lobste.rs/s/jmmr3w/interview_with_drew_devault#c_6pp...
There's a legitimate reason for the SPA architecture, but it comes with many downsides as well.
Good article (which is ironically on Medium, a great example of a document turned into a terrible, slow app):
https://medium.com/@addyosmani/the-cost-of-javascript-in-201...
https://news.ycombinator.com/item?id=17682378