Tuning Your Angular Application
summary
Three concrete wins: find a memory leak with Chrome DevTools — memory heap showed three instances — and fix lingering subscriptions by using async pipe and SubSink (HTTP client auto-completes some streams). Shrink bundles with webpack-bundle-analyzer, Angular CLI budgets, the Import Cost VS Code extension and BundlePhobia; swapping full lodash for tree-shakable imports cuts size. Structure code to avoid cross‑feature imports — “don’t share with your siblings” — and prefer smart parents with dumb presentation children.
AI-written summary · about
chapters (8)
- 0:00Start
- 3:29Using Async pipe
- 4:07Using subsink from Ward Bell
- 5:31Webpack bundle analyzer
- 5:47Use ES modules version of libraries
- 6:34Angular CLI Budgets
- 6:53Import cost for VScode
- 7:16Bundle Phobia
related talks
44mRockin’ in the Angular World
22mThe dark side of tuning Angular performance
40mOptimized Angular Apps: Smaller, Faster, Better
09mCommon Angular Gotchas
20mTools for Fast Angular Applications
31mOptimized Angular apps: smaller, faster, better
17mRethinking Angular Architecture & Performance
28mDebugging the Performance of 4,860 Angular Apps
