You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading an older application from Angular 4. In the upgrade from 5 to 6 I needed to upgrade RxJS. angular2-redux makes this change in v5, but I'm finding that this breaks every use of the store.select function in the application. Higher versions don't fix this. It seems that when you pass function in as the keyOrSelector, when it it called you actually get the store object, not the state. Screenshot of dev tools showing this below.
Your angular2-redux-example still uses v4 but as far as I can tell you are using selects there the same way we are. I'm surprised this hasn't been a reported issue before, but can't see that I'm doing anything wrong. Somehow the change between 4 to 5 to upgrade RxJS to 6 seems to have caused this.
Hope you can help
The text was updated successfully, but these errors were encountered:
So I've this worked this out. In app-store.ts when RxJS was updated, Observable.from(store) was changed to of(store), rather than to from(store) which has changed how this works. If I change it to from(store), everything works as before. Is this likely to be changed? Otherwise I think I will have to fork.
Hi there,
I'm upgrading an older application from Angular 4. In the upgrade from 5 to 6 I needed to upgrade RxJS. angular2-redux makes this change in v5, but I'm finding that this breaks every use of the store.select function in the application. Higher versions don't fix this. It seems that when you pass function in as the keyOrSelector, when it it called you actually get the store object, not the state. Screenshot of dev tools showing this below.
Your angular2-redux-example still uses v4 but as far as I can tell you are using selects there the same way we are. I'm surprised this hasn't been a reported issue before, but can't see that I'm doing anything wrong. Somehow the change between 4 to 5 to upgrade RxJS to 6 seems to have caused this.
Hope you can help
The text was updated successfully, but these errors were encountered: