store: Observable doesn't update view after ng2-redux update
I have a pretty simple app that I’m running and whenever the state updates, the view doesn’t reflect that. Using Angular 2.2.0 and ng2-redux 4.1.0
Here’s what I’m doing:
I have a select in my app.component.ts
file
I’m using the async pipe in my template to display the raw data in app.html
and every single time it comes back as empty.
I’m intercepting the actions and the reducers to console log wtf is going on. The actions run, the new state gets returned but the view doesn’t update. I originally had this project running 4.0.0-beta.0
with angular 2.0.0
and that worked flawlessly. After update, doesn’t work.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 21 (11 by maintainers)
Commits related to this issue
- Ensure dispatch always happens In-Zone This is to help resolve issues like #259 — committed to SethDavenport/ng2-redux by deleted user 8 years ago
- Ensure dispatch always happens In-Zone This is to help resolve issues like #259 — committed to SethDavenport/ng2-redux by deleted user 8 years ago
- Ensure dispatch always happens In-Zone This is to help resolve issues like #259 — committed to SethDavenport/ng2-redux by deleted user 8 years ago
- Ensure dispatch always happens In-Zone This is to help resolve issues like #259 — committed to SethDavenport/ng2-redux by deleted user 8 years ago
- Ensure dispatch always happens In-Zone (#276) * Prelim work for 5.0.0-beta.0 * more comments in changelog * Ensure dispatch always happens In-Zone This is to help resolve issues like #259 — committed to angular-redux/store by SethDavenport 7 years ago
I’m using
0.6.26
. Maybe I’m initializing it wrong. In mymain.ts
(app entry), I’m doing the following:(my local machine now uses imports).
I copied the
vendor.ts
file from the counter project but that didn’t help anything.