Practical use.
WHAT TO LEARN FIRST
Components and templates Services and dependency injection Routing Forms
WHAT FORMS APPROACHES EXIST
Template-driven, for simple cases Reactive, defined in code
WHAT TO PREFER FOR ANYTHING SUBSTANTIAL
Reactive forms, which are testable and handle complex validation.
WHAT OBSERVABLES PROVIDE
Streams of values over time, with operators for transformation.
WHAT THEY COST
A learning curve, and a common source of confusion.
WHAT TO BE CAREFUL WITH
Subscriptions not unsubscribed, which leak Nested subscriptions, which become unreadable
WHAT TO USE INSTEAD OF MANUAL SUBSCRIPTION
The template facility that subscribes and cleans up automatically.
WHAT CHANGE DETECTION DOES
Determines when to update the view.
WHAT AFFECTS PERFORMANCE
The default strategy checking broadly.
WHAT TO USE FOR PERFORMANCE-SENSITIVE COMPONENTS
The strategy checking only when inputs change.
WHAT TO ORGANISE BY
Feature.
WHAT TO KEEP IN SERVICES
Business logic and data access.
WHAT TO KEEP IN COMPONENTS
Presentation and interaction.