@nozbe/watermelondb
Version:
Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast
29 lines (26 loc) • 573 B
TypeScript
// @flow
// NOTE: All Rx imports in WatermelonDB MUST go through this file
// this is a magic shim that can be replaced via babel onto another shim that imports Rx files
// from different locations
// This allows manual tree shaking on React Native
export {
// classes
Observable,
Subject,
ReplaySubject,
BehaviorSubject,
// observables
of,
merge,
defer,
} from 'rxjs'
export {
// operators
multicast,
distinctUntilChanged,
map,
switchMap,
throttleTime,
startWith,
} from 'rxjs/operators'
export type { ConnectableObservable } from 'rxjs'