6 ms·
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)
by agos 1y ago
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)
- bob1029 1y agoYou'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.
- agos 1y agoexactly. I don't want to do a "no true scotsman" to defend React, but circumstantial evidence suggests that they wildly misused the tool
- throw-the-towel 1y agoA tool that lends itself to misuse so easily is a bad tool, period.
- agos 1y agowhy 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.
- sgarland 1y agoNot 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.
- xcrunner529 1y agoSo PHP <6 was a great language?
- zerocharge 1y agoThe 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.
- guappa 1y agoHave you not seen the internet these past decades?
- zerocharge 1y agoIt'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.
- cryptonym 1y agoThat 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.
- agos 1y agoI'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
- cryptonym 1y agoAgree you can shoot yourself in the foot with pretty much any technology. By design, it's much easier to be inefficient with SPA frameworks.
- fouc 1y agoWe'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.
- Zanfa 1y agoNot 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.
- dbalatero 1y agoYeah, if they read the actual link, the issue is CSS transforms on each line of code, not React.