Creating A Simple setState() Store Using An RxJS BehaviorSubject In Angular 6.1.10

added by Paul Wheeler
11/1/2018 2:55:06 PM

1 Kicks, 397 Views

Ben Nadel creates a React-inspired state management store using a thin proxy class that wraps an RxJS BehaviorSubject() and adds a .setState() method. This state container can then be used in a reactive, stream-based Angular 6.1.10 JavaScript application.