Subjecting State to Good Behavior

Grand Ballroom

Apps of all sizes need to manage state, but not all apps need a state machine like NgRx. What if we can’t afford the code cost? What if we don’t want to decouple our business layer? The quick answer might be “inputs! outputs! behavior subjects!” But there’s more to Angular state management than just getters and setters or a global stream. Let’s set up readable, uncomplicated state management using behavior subjects, observables, and immutability — all OnPush ready. How do you assess your app’s architectural needs to determine when you do and don’t want abstraction and indirection? In this talk, we’ll explore scaling up state management in Angular from extremely simple to more robust.

General Session