~/talk

Angular's Future w/out NgModules Architectures w/Standalone Components

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular, frontend-architecture]
slides:none on file

Claim: standalone components remove the need for NgModules and enable direct routing and lazy loading with concrete APIs. Shows using provideRouter and the bridging helper importProvidersFrom, pointing loadChildren at route configs or using loadComponent, and declaring route-scoped providers to create DI scopes. Covers migration helpers like provideState / provideEffects for NgRx, and recommends NX workspaces plus barrels and path mappings with lint rules to enforce modular boundaries and prevent accidental private imports.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Standalone components revolution
  3. 1:58Routing without NgModules
  4. 3:23Bootstrapping with providers
  5. 5:56Direct lazy loading
  6. 7:03Route-level DI scopes
  7. 8:30Tree-shakable routing
  8. 8:52Live demo: flight booking
  9. 11:00Structuring apps with folders and barrels
  10. 12:46Barrels as API
  11. 13:27NX workspaces
  12. 16:44Conclusion and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.