1.2.1 • Published 5 years ago

redux-observable-es6-compat v1.2.1

Weekly downloads
1,674
License
MIT
Repository
github
Last release
5 years ago

this is fix for package redux-observable in es2015 target build related to: https://www.npmjs.com/package/redux-observable

issue createStore redux with redux-observable middleware in angular project target to ES6

Error
ActionsObservable.js:30 Uncaught TypeError: Class constructor Observable cannot be invoked without 'new'
    at new ActionsObservable (ActionsObservable.js:30)
    at epicMiddleware (createEpicMiddleware.js:24)
    at redux.js:615

That error fixed in package redux-observable-es6-compat only for redux-observable version 1.0.0

instead of

import { createEpicMiddleware } from 'redux-observable';

use this

import { createEpicMiddleware } from 'redux-observable-es6-compat';

and it works for es5 and es2015 target build

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago