Use fetch instead of ajax with redux-observable
问题 In redux-observable is it possible to use isomporphic-fetch instead of Rx.DOM.ajax? 回答1: (Note: RX.DOM.ajax is from RxJS v4 , and doesn't work with redux-observable which requires RxJS v5. The equivalent in v5 is Rx.Observable.ajax or import { ajax } from 'rxjs/observable/ajax'; ) It is indeed possible to use fetch() as well as any other AJAX API; though some adapt easier than others! The fetch() API returns a Promise , which RxJS v5 has built-in support for . Most operators that expect an