DEV Community

Discussion on: Top Reasons Why Your Angular App Is Slow

Collapse
 
hackergaucho profile image
Hacker Gaucho • Edited

i recently tried to parse a page made with Angular using jsdom and could not.

encountered a similar problem when trying to download Twitter profiles using phantomjs where I had to wait for the page to load and wait for 2 seconds just to get the correct title.

I think anyone who chooses to use technologies like React or Angular should create a graceful degradation so that at least the page title can be displayed without javascript.

Collapse
 
gc_psk profile image
Giancarlo Buomprisco

I think that very much depends on the sort of application we're talking about :) Granted, using SSR and/or pre-rendering would definitely improve the loading time on many apps. Angular 9 does really a much better job compared to the previous versions for working with SSR - so maybe, hopefully, we'll see more Angular apps and websites using these techniques!

Collapse
 
hackergaucho profile image
Hacker Gaucho

SSR is the only way for real gracefull degradation. Twitter uses React since 2007, apparently they combine user agent detection on server side but do not support rendering the title without JavaScript.