old versions
Zone: "0.5.15", angular-2: "2.0.0-beta.13"
new versions
Zone: "0.6.8", angular-2: "2.0.0-beta.9"
code
this.api.getSomething().subscribe( (data) => { this.data = data;} )
the above code doesn’t work on the new versions but the following does
new code
this.api.getSomething().subscribe( (data) => { this.app._zone.run(){ this.data = data; } } )
is this how it is supposed to be or there is something I should fix
ionic info
our system information: Cordova CLI: 5.4.1 Ionic Version: 2.0.0-beta.3 Ionic CLI Version: 2.0.0-beta.19 Ionic App Lib Version: 2.0.0-beta.9 OS: Distributor ID: Fedora Description: Fedora release 23 (Twenty Three) Node Version: v4.3.1