Re:The GitHub website is slow on Safari
by agos on Wednesday August 27, 2025 @09:29AM
(#45039407)
if you look at the thread, the explanation is not this easy, as much as it's satisfying to blame React (or any other single tech)
[ Parent
| on HN ]
Re:The GitHub website is slow on Safari
by cryptonym on Wednesday August 27, 2025 @09:57AM
(#45039778)
That comment was about overall slowness of the site, not a specific issue on a specific browser.
Available data confirms that SPA tends to perform worse than classic SSR.
I'm pretty sure that if they rendered/updated the same insane amount of nodes with some other technology, for example PJAX like they used to do, performance would not be better
Re:The GitHub website is slow on Safari
by cryptonym on Wednesday August 27, 2025 @10:09AM
(#45039981)
Agree you can shoot yourself in the foot with pretty much any technology. By design, it's much easier to be inefficient with SPA frameworks.
Re:The GitHub website is slow on Safari
by bob1029 on Wednesday August 27, 2025 @09:52AM
(#45039679)
You're right. The technology is not necessarily flawed. It is more about the people who decided to use it and the way in which they used it.
exactly. I don't want to do a "no true scotsman" to defend React, but circumstantial evidence suggests that they wildly misused the tool
Re:The GitHub website is slow on Safari
by throw-the-towel on Wednesday August 27, 2025 @12:20PM
(#45041699)
A tool that lends itself to misuse so easily is a bad tool, period.
why do you say "easily"? it took them considerable effort to make that atrocity, I'm pretty sure. The fact that tens of people worked on this and yet this is the result is way more telling of the team and company culture than it is of the specific tool.
Re:The GitHub website is slow on Safari
by sgarland on Thursday August 28, 2025 @08:59AM
(#45051642)
Not necessarily. Sharp tools are often sharp because someone needs it.
I’m not a frontend dev, and have next to zero experience with anything beyond jQuery, but an analogy is shell. Bash (and zsh, though I find some of its syntactic sugar nicer, albeit still inscrutable) will happily let you do extremely stupid things, but it also lets you do extremely complicated things in a very concise manner. That doesn’t mean it’s inherently bad, it means you need to know what the hell you’re doing, and use linters, write tests, etc.
Re:The GitHub website is slow on Safari
by xcrunner529 on Wednesday August 27, 2025 @01:51PM
(#45042753)
So PHP <6 was a great language?
Re:The GitHub website is slow on Safari
by zerocharge on Wednesday August 27, 2025 @02:48PM
(#45043459)
The front-end is usually just a thin layer on top of a database, sometimes with backend services (queues/processing). Having a bad language on the front-end actually helped. You don't want to write code because of the bad language, you write less code, less code is less bugs. You had to be invested to increase the lines of code. It's like the hard chair of programming languages. If you don't want programmers to dwell there, bring the hard chairs.
Have you not seen the internet these past decades?
Re:The GitHub website is slow on Safari
by zerocharge on Thursday August 28, 2025 @11:02AM
(#45053083)
It's meant in a tongue in cheek way. Day to day I develop in C# and Typescript/React using all the latest bells and whistles. Long for the simpler times though. The time before product managers, Scrum and ticket driven development. All the tickets drive the complexity that maybe shouldn't exist. Hard to push back against feature requests when it's a one-way street.
We're not specifically blaming React. we're blaming their approach to React/SPA and how it caused a massive degrade compared to Github's Rails-based UX.
Github's code view page has been unreasonably slow for the last several years ever since they migrated away from Rails for no apparent reason.
Not once have I seen a site go from SSR to SPA and been pleasantly surprised. It always trends towards worse in responsiveness and overall UX.
I’m sure you could make something work better as a SPA, but nobody does.