EXCEPTION: ApplicationRef.tick is called recursively
See original GitHub issueWhen I use external scripts, I have to run manually tick method to check for app changes.
For example facebook login:
FB.login(response => {
// do some changes
this.isLoggedIn = true;
// required tick
this.applicationRef.tick();
});
All works ok while I wait for the response callback to be executed.
But I get EXCEPTION: ApplicationRef.tick is called recursively when I do some actions before the response callback is executed. For example when I focus an input element or whatever that angular will check for changes.
Version: 2.0.0-beta.9
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Angular Error: ApplicationRef.tick is called recursively
I am successfully emitting Event explicitly by running another change detection process outside Zone JS. Though the change detection is running ...
Read more >angular/angular - Gitter
I was trying to use ApplicationRef.tick() method, bug often I am running into issue: ApplicationRef.tick is called recursively. Any ideas?
Read more >ApplicationRef - Angular
In development mode, tick() also performs a second change detection cycle to ensure that no further changes are detected. If additional changes are...
Read more >Angular Error: ApplicationRef.tick is called recursively - iTecNote
tick is called recursively. I am successfully emitting Event explicitly by running another change detection process outside Zone JS.
Read more >angular 8 no provider for changedetectorref
tick() doesn't work here as that causes 'ApplicationRef.tick is called recursively' exception; emitting an event just to trigger a change detection feels wrong...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How unhelpful @pkozlowski-opensource. It’s not the most well-formed question, but there is no need to post a link as a response such as that.
@vicb @pkozlowski-opensource This thread is the first google result now for “ApplicationRef.tick is called recursively”.