i saw this post Angular 2 tutorial refresh on party-details broken
I cannot fix it in Angular 2.0.0
when refresh page is emtpy data and I want reactive data in paty-detail page
Sorry for my English syntax
i saw this post Angular 2 tutorial refresh on party-details broken
I cannot fix it in Angular 2.0.0
when refresh page is emtpy data and I want reactive data in paty-detail page
Sorry for my English syntax
I can fix it, add Tracker.autorun and ngZone I see in old tutorial meteor
this.paramsSub = this.route.params
.map(params => params['projectname'])
.subscribe(projectname => {
this.projectname = projectname;
Tracker.autorun(() => {
this.ngZone.run(() => {
this.project = Projects.findOne({url: this.projectname});
})
})
});```