Why is the component in this simple plunk
@Component({
selector: \'my-app\',
template: `I\'m {{message}} `,
})
export class App {
I couldnt comment on @Biranchi s post since I dont have enough reputation, but it fixed the problem for me.
One thing to note! If adding changeDetection: ChangeDetectionStrategy.OnPush on the component didn't work, and its a child component (dumb component) try adding it to the parent also.
This fixed the bug, but I wonder what are the side effects of this.