RxJs Boost
July 15, 2021 ยท View on GitHub
Fire up your RxJS experience to a new level ๐ฅ
Visit the official documentation and have a look at the collection of operators and utils. Or get started with one of the few below:
Installation
npm i rxjs-boost
import { wrapIntoObservable } from 'rxjs-boost';
import { retryWithDelay, switchTap, throwIf } from 'rxjs-boost/operators';
FAQ
- Why are there
throwIf,throwIfNullandthrowIfUndefinedโ isn't one of them enough?- When strict null checks are enabled, TypeScript doesn't include
nullandundefinedin all other types. Therefore you'll want to narrow down the type inside your observable pipe. The example ofthrowIfNullinside the documentation also displays this.
- When strict null checks are enabled, TypeScript doesn't include
- I've got an idea of a super cool, not overloaded operator โ where can I submit it?
- Just open an issue. There is no template yet :)