RxJSInAction / banking-in-action

Sample application for RxJS in Action (Book)
https://www.manning.com/books/rxjs-in-action
40 stars 23 forks source link

How can i use this example with rxjs6 version? #13

Open gunheekim90 opened 4 years ago

gunheekim90 commented 4 years ago

I want to read your book with rxjs6.

However, atfer upgrade version with guide in public documantation,

"npm install rxjs@6 rxjs-compat@6"

it doen't work

I got this problem

"node_modules/rxjs/bundles/Rx.js"

So i fixed that path to

"node_modules/rxjs/bundles/rxjs.umd.js"

I got this new error

"Rx is not defined"

How can i use rxjs6 this bank app and all example in your book?

paulpdaniels commented 4 years ago

Hi! I’m not very familiar with what all the script will change, but based on the error, it isn’t updating the top level Rx.Observable references. You’ll need to change those to be rxjs as in rxjs.from.