Reducing package size and complexity with NgModule
summary
Claims a concrete savings: refactors AngularFire into ng module modularization so the Firebase JS pieces tree shake away, yielding a 30% reduction in the Firebase portion (which was 48% of vendor JS in the demo). The prototype compiles and removes unused auth/storage/messaging code but initially proof-of-concept broke a lot so APIs get adjusted (auth defaults removed, wrappers added). Proposal adds router guards, lazy loading and universal support; release candidate not ready yet.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:23Reducing package size and complexity with ng Module
- 6:37Observables, observables, observables!
- 7:03What the problem is?
- 8:25@NgModule to the rescue
- 11:18Drop pre-configuration of login A large amount of complexity goes into initializing the default authentication method
- 12:13Angular specific behavior Route guards Lazy loading Universal support
- 12:44Naming
related talks
22mBuilding Fast Angular Applications from End
40mWhat’s new in Angular
20mTools for Fast Angular Applications
44mArchitecting large scale Angular apps with Module Federation
24mFrom Google Analytics to Universal Deploy Schematics!
41mState of Angular
27mAngular Renaissance
32mLightweight Architectures with Angular's Latest Innovations
