Re:Angular 9.0
by Jasper_ on Thursday February 06, 2020 @11:38PM
(#22263266)
Then why are all the React-based web apps I use so slow?
[ Parent
| on HN ]
Re:Angular 9.0
by manigandham on Friday February 07, 2020 @01:31AM
(#22263720)
Poor design and architecture. Doing too much and blocking the event loop, memory leaks, using too much frontend code to poorly mimic native browser features like new tabs and back buttons, uncaught exceptions that stop the javascript thread and leave the page stuck, etc.
React ecosystem is centered heavily on "components". This sounds nice, but IMO it breaks down quickly on the "whole program" level. What you end up with is crazy re-renders because it doesn't make sense to "componentize" the state.
It's probably not React itself. Most perceived performance issues I've encountered are due to architecture issues, usually relating to network calls.
i also asked this:
Re:Angular 9.0
by chrisco255 on Friday February 07, 2020 @01:24AM
(#22263689)
Facebook and Twitter are slow?
Facebook absolutely is, it's a beast. I find it can frequently freeze up my old laptop, which is admittedly getting past it but I have little trouble with most any other site.
I don't use Twitter, so can't comment.
Try mbasic.facebook.com