3

While reading Angular 2 documentation, I came across this (emphasis mine)

Angular processes all data bindings once per JavaScript event cycle, from the root of the application component tree through all child components.

Please explain in as much detail as possible what this means? Especially what is "once per event cycle"?

2
  • You should probably raise a documentation issue on their project if you feel it's lacking in information Commented Sep 26, 2016 at 3:53
  • 1
    May it be referring to Lifecycle Hooks? Commented Sep 26, 2016 at 3:55

1 Answer 1

2

I think it refers to any change or event triggered(Like changing input field ).Once any change occurs it starts from top to bottom. you can learn more here https://vsavkin.com/change-detection-in-angular-2-4f216b855d4c#.a3ggxt9hl

Sign up to request clarification or add additional context in comments.

4 Comments

I don't think if this should be considered as one possibility of what event cycle is. Since, there's actually no cycles in JS native events.
i mean events are emiited on change & --------------> from parent change is propagated <--------------- angular.io/resources/images/devguide/architecture/…
report it to the community(github.com/angular/angular/issues). They can give some insight. I am also bit confused :(
Oh got it.. Actually this might be it.

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.