644 Views
Ben Nadel posts an update to his React-inspired .setState() store using a BehaviorSubject() in Angular 6.1.10. This update allows the .setState() method to accept a callback which will provide the current state of the store that is sometimes needed to calculate the new state.
0 comments