0

The documentation for detectChanges states:

Checks this view and its children

Does this mean it checks the direct children bindings, or does it check children recursively until it "hits" the deepest one?

8
  • Basically, yes, it will go recursively. More info here, blog.angular-university.io/…, for instance. Commented Jan 18, 2019 at 12:02
  • @Pac0 strangely enough, it doesn't seem so. I've posted a question regarding this a couple days ago stackoverflow.com/questions/54201990/… Commented Jan 18, 2019 at 12:05
  • hum, I may have misundetrstood the question or misunderstood some rules in angular, but I'm trying to create a StackBlitz to clarify the point. Commented Jan 18, 2019 at 12:09
  • @Pac0 thank you! Eventually I'll create one with a similar environment as mine Commented Jan 18, 2019 at 12:13
  • In the meantime, related, maybe duplicate : Angular2 change detection: ngOnChanges not firing for nested object Commented Jan 18, 2019 at 12:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.