angular-redux / store

Angular 2+ bindings for Redux
MIT License
1.34k stars 202 forks source link

Support for Angular 8? #562

Open MSafter opened 5 years ago

MSafter commented 5 years ago

This is a...

What toolchain are you using for transpilation/bundling?

Environment

NodeJS Version: 12.3.1 Typescript Version: 3.4.5 Angular Version: 8.0.0 @angular-redux/store version: 10.0.0 @angular/cli version: (if applicable) OS: macOS

Link to repo showing the issus

(optional, but helps a lot)

Expected Behaviour:

@angular-redux/store is working fine with Angular 8

Actual Behaviour:

Seems not to work with Angular 8

Stack Trace/Error Message:

zone-evergreen.js:359 Uncaught (in promise) TypeError: Class constructor Observable cannot be invoked without 'new' at new ActionsObservable (ActionsObservable.js:30) at epicMiddleware (createEpicMiddleware.js:31) at redux.js:615 at Array.map () at redux.js:614 at RootStore.configureStore (angular-redux-store.js:584) at new StoreModule (store.module.ts:158) at _createClass (core.js:23183) at createProviderInstance (core.js:23137) at initNgModule (core.js:23043) at new NgModuleRef (core.js:24175) at createNgModuleRef (core.js:24158) at Object.debugCreateNgModuleRef [as createNgModuleRef] (core.js:35695) at NgModuleFactory_.create (core.js:36820) at core.js:31585 at ZoneDelegate.invoke (zone-evergreen.js:359) at Object.onInvoke (core.js:30892) at ZoneDelegate.invoke (zone-evergreen.js:358) at Zone.run (zone-evergreen.js:124) at NgZone.run (core.js:30757) at PlatformRef.bootstrapModuleFactory (core.js:31578) at core.js:31648 at ZoneDelegate.invoke (zone-evergreen.js:359) at Zone.run (zone-evergreen.js:124) at zone-evergreen.js:855 at ZoneDelegate.invokeTask (zone-evergreen.js:391) at Zone.runTask (zone-evergreen.js:168) at drainMicroTaskQueue (zone-evergreen.js:559) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:469) at invokeTask (zone-evergreen.js:1603) at HTMLScriptElement.globalZoneAwareCallback (zone-evergreen.js:1629)

Additional Notes:

(optional)

alaindeurveilher commented 5 years ago

Shouldn't this issue be reported in https://github.com/angular-redux/platform instead?

MSafter commented 5 years ago

@AlainD- yeah you're right. I've hit the new Issue in the wrong repo. Sorry my bad :/ Can we move the issue?

JaydeSilvaEmpire commented 5 years ago

I am facing this issue too, any progress on this?

joschne commented 5 years ago

I was able to solve this issue with redux-observable-es6-compat

maplion commented 4 years ago

@joschne I did the same.