Created
June 6, 2019 22:56
-
-
Save arturovt/0dd18c068183839dd68a29b36be94523 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApplicationRef } from '@angular/core'; | |
const tick = ApplicationRef.prototype.tick; | |
ApplicationRef.prototype.tick = function() { | |
console.log(`I'm re-rendering the whole app...`); | |
return tick.call(this); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment