Upgrade to rxjs 5.5.0 breaks... everything
See original GitHub issueaction$.ofType does not return what it used to return. .map, .mergeMap etc isn’t there anymore.
Edit by @jayphelps:
As found by @evertbouw below, you can work around this by using:
// if you want patch everything
import 'rxjs/Rx';
// if you need a reference to everything
import * as Rx from 'rxjs/Rx';
This issue is being discussed over in the rxjs repo: https://github.com/ReactiveX/rxjs/issues/2984 👍 reactions are welcome, but +1 comments etc aren’t necessary
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
angular - Failed to load RxJs after updating Typescript to 2.5.3 ...
I made following major changes and update packages. Angular: 4.4.6; rxjs: 5.5.0; typescript: 2.5.3. An error that I can see at browser console ......
Read more >RxJS 6: What's new and what has changed? - Auth0
Limitations of Upgrading to RxJS with rxjs-compat. There are only two breaking changes that are not covered by the rxjs-compat package: ...
Read more >rxjs/CHANGELOG.md - UNPKG
65, - Operators are all exported at the top level, from "rxjs". From here on out, ... This is potentially breaking in edge...
Read more >Installation Instructions - RxJS
Here are different ways you can install RxJS: ... npm install rxjs ... All Module Types (CJS/ES6/AMD/TypeScript) via npmlink. To install this library...
Read more >RxJS 5 - npm
To install this library for CommonJS (CJS) usage, use the following command: npm install rxjs. Import all core functionality:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you used to do
import "rxjs";
you can quickly fix it by doingimport "rxjs/Rx";
.Right now there is no difference. My completely personal opinion is that people should import just
rxjs
, notrxjs/Rx