Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore reactive state management approaches in Angular using behavior subjects, observables, and immutability in this 20-minute ng-conf talk. Learn how to set up readable and uncomplicated state management without relying on complex state machines like NgRx. Discover techniques for managing state in apps of various sizes, including the use of inputs, outputs, and subjects. Dive into practical examples demonstrating the implementation of a state service, data service, and app component. Gain insights on optimistic updates, error handling, and creating a state class. Enhance your Angular development skills with this comprehensive overview of efficient state management strategies.
Syllabus
Introduction
State Management in Angular
Subjects
Service with Subject
Public Observable
Example App
State Service
Data Service
App Component
Optimistic Updates
Demonstration
Creating a state class
Dismissing errors
Handling errors
Conclusion
Taught by
ng-conf