Skip to content

Commit df1c5ed

Browse files
committed
🐛 (recompose) fix error due to import order
This is a known issue of compatibility between recompose and rxjs. See https://stackoverflow.com/questions/53878650/you-provided-an-invalid-object-where-a-stream-was-expected-when-using-rxjs6-an.
1 parent 206984f commit df1c5ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Import order is important between recompose and rxjs.
3+
* We need to import recompose first in order for it to polyfill observable symbol.
4+
* @see https://stackoverflow.com/questions/53878650/you-provided-an-invalid-object-where-a-stream-was-expected-when-using-rxjs6-an.
5+
*/
6+
import 'recompose';
7+
18
export { FullScreenPortal } from './FullScreenPortal';
29
export { Screen } from './Screen';
310
export { Canal } from './Canal';
11+
export { Navigation } from './Navigation';

0 commit comments

Comments
 (0)