Re:Free React.js Fundamentals Course
by EvanPlaice on Wednesday March 02, 2016 @03:12AM
(#11208686)
What about using observables? Unlike promises, they can be cancelled at any time.
Rxjs provides the observable data type. The extensions are functional reactive operators. There are operators used to retry, throttle, filter, debounce, etc.
Angular2's http module is already based on Rxjs observables for this exact reason.
Rxjs provides the observable data type. The extensions are functional reactive operators. There are operators used to retry, throttle, filter, debounce, etc.
Angular2's http module is already based on Rxjs observables for this exact reason.