Skip to content

Instantly share code, notes, and snippets.

@joseluisq
Last active August 30, 2018 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joseluisq/287f6b4dafc87ebccb41e957f897556d to your computer and use it in GitHub Desktop.
Save joseluisq/287f6b4dafc87ebccb41e957f897556d to your computer and use it in GitHub Desktop.
RxJS 6 Changes

RxJS 6 Changes

Source: https://www.academind.com/learn/javascript/rxjs-6-what-changed/

The following operators were renamed:

  • catch() => catchError()
  • do() => tap()
  • finally() => finalize()
  • switch() => switchAll()

Additionally, some Observable-creation methods were renamed/ refactored:

  • throw() => throwError()
  • fromPromise() => from() (this automatically detects the type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment