@willb wrote:
I'd like to use RxJS in an Ionic 2 app
import {Rx} from "@reactivex/rxjs"; export clas Foo { constructor() { this.myUser = new Rx.BehaviorSubject(null); } }
However I'm getting:
ERROR in ./~/@reactivex/rxjs/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./dist/cjs/Rx.KitchenSink in ~/dev/myproject/node_modules/@reactivex/rxjsI also tried
import * as Rx from "rx";
Which fails in a similar way. Anybody have this working?
Posts: 1
Participants: 1