Universally speaking
summary
Case study of moving a large Angular app (Trade Me) to server rendering: Node/Express server generated full HTML, CLI adds server module and serverTransition, and production system serves Universal pages with 682+ modules. Covers concrete fixes: avoid direct DOM by using the renderer and a windowRef/useWindow wrapper, prevent duplicate API calls with ngRx state transfer serialization into HTML, and trade-offs—slower TTFB, riskier TTI, extra build and monitoring complexity.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:51This is a deep dive!
- 3:07Goodbye AngularJS
- 5:21Angular Universal
- 6:27Performance
- 9:41Facts about asteroids
- 10:22Angular CLI
- 15:51Four patterns
- 16:30Avoiding the DOM
- 17:02Components
- 17:50Be explicit about it
- 18:23Provide an alternative
- 19:18Check the platform...
- 21:09Just turn it off
- 24:02State Transfer
- 27:43Complexity
related talks
26mServer Side Rendering with Angular Universal
51mThe Jedi Path to Angular Universal
42mUniversally Speaking
21mStrategies for Server Side Rendering Angular Applications
28mServer-side rendering with Angular 2
31mAngular Universal in the Real World
20mSven van Straalen
41mServer-side rendering with Angular—be faster and more SEO, CDN and user-friendly!
