Subjecting State to Good Behavior
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 and indirection? What if we don’t want to decouple our business layer? 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. In this talk, we’ll explore scaling up state management in Angular from extremely simple to more robust, and come away with knowledge that will help us gain a better understanding of Angular, RxJS, and even third party state management libraries.