Implementing Redux by Hand using RxJS

ref: https://vsavkin.com/managing-state-in-angular-2-applications-caf78d123d02

A lot of Redux middleware is handled by RxJS operators like .map(), .filter(), .mergeMap(), etc. Reselect is .distinctUntilChanged() and/or .combineLatest(), .withLatestFrom() or .merge() . Undo/Redo can be handled with ReplaySubject(). Batched actions can be handled with Rx schedulers.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s