Hi Max, Thanks for the great in depth article. I always love your articles.
I have question regarding this article. So I have onInit on parent that does massaging of data that will be the input of child component. And the input is used in child’s onInit to be passed to a service. It is working fine when I put break point on child’s onInit, the input is already massaged and what I want.
But does this mean first it does all the parent’s lifecycle then child’s lifecycle?
If I put breakpoints, it goes like.. parent onInit -> child onChanges -> child onInit. And this is the order that I want but I just wanted to make sure this is the always the case otherwise I might need to move the data massage logic to the constructor of the parent.
Thank you-
Chikako