Common Angular Gotchas
summary
Covers concrete Angular fixes: identifies memory leaks from DOM event listeners and router observables and shows three fixes—manual unsubscribe in ngOnDestroy, consolidating with Subscription.add, and using takeUntil with a Subject (complete the subject in ngOnDestroy); also recommends the async pipe to auto-unsubscribe. On performance, measures initial bundle size and fixes slow boot by splitting routes with loadChildren/import() lazy loading and using PreloadAllModules to warm modules after bootstrap.
AI-written summary · about
related talks
35mBad Practices, what NOT to do in Angular
19mTuning Your Angular Application
44mRockin’ in the Angular World
41mThe most infamous code smells in Angular Applications
34mBad Practices, how you should NOT do in Angular world
15m6 Tips to Improve Your Angular Web App
41mHow to Improve Angular 2 Performance?
23mPerformance optimizations in Angular
