By Maina Wycliffe
DevFest Rift Valley 2022
Angular without Modules -
The State of Standalone Components
Slide 2
Slide 2 text
About Me
Maina Wycliffe
Angular GDE, Software Engineer at Flanksource, &
Typescript aficionado
Author of the All Things Typescript Newsletter -
allthingstypescript.dev
Maina Wycliffe
Compatibility with NgModules
importProvidersFrom(...)
Slide 19
Slide 19 text
Compatibility with NgModules - Route
Component
Slide 20
Slide 20 text
Compatibility with NgModules - Providing to a
Route and its children
Slide 21
Slide 21 text
And then, there is more
Slide 22
Slide 22 text
Inject Function
Functional Angular
Slide 23
Slide 23 text
Inject Function
● Decouple Angular from Classes
● An alternative to Constructor DI
● Functions in Angular
Slide 24
Slide 24 text
Inject Function – Functions
Slide 25
Slide 25 text
Inject Function – Functional Guards
Slide 26
Slide 26 text
What’s next?
● NgModules are not going anywhere
● You can use a combination of both
Slide 27
Slide 27 text
Resources
● Standalone APIs | This is Angular guides
● Advancements in the Angular Router | by Andrew Scott | Oct, 2022
● Angular - Getting started with standalone components