message: fix(devtools): index new nodes before firing callbacks to fix issue where some callbacks rely on the newly indexed nodes
diff: @@ -129,18 +129,19 @@ export class ComponentTreeObserver {
  private _onAddedNodesMutation(node: Node): void {
  const components = this._getAllNestedComponentsWithinDomNode(node);
  + const directives = this._getAllNestedDirectivesWithinDomNode(node);
  +
  + if (components.length + directives.length > 0) {
  + this._tracker.index();
  + }
  +
  if (components.length > 0) {
  components.forEach(component => this._onAddedComponent(component));
  }
  - const directives = this._getAllNestedDirectivesWithinDomNode(node);
  - if (directives.length) {
  + if (directives.length > 0) {
  directives.forEach(dir => this._onAddedDirective(dir));
  }
  -
  - if (components.length + directives.length > 0) {
  - this._tracker.index();
  - }
  }
  private _onAddedComponent(addedComponent): void {
  