question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to rxjs 5.5.0 breaks... everything

See original GitHub issue

action$.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:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
evertbouwcommented, Oct 20, 2017

If you used to do import "rxjs"; you can quickly fix it by doing import "rxjs/Rx";.

1reaction
jayphelpscommented, Oct 26, 2017

Right now there is no difference. My completely personal opinion is that people should import just rxjs, not rxjs/Rx

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found