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

Most upvoted comments

I’m using 0.6.26. Maybe I’m initializing it wrong. In my main.ts (app entry), I’m doing the following:

require('core-js/shim')
require('zone.js')

(my local machine now uses imports).

I copied the vendor.ts file from the counter project but that didn’t help anything.