code: function getReactParentNameStack(componentInstance) {
    const fiber = componentInstance._reactInternalFiber;
    const parentStack = [];
    let owner = fiber;
    if (!owner) {
      return parentStack;
    }
    while ((owner = owner._debugOwner)) {
      if (owner.type.name) {
        parentStack.push(owner.type.name);
      }
    }
    return parentStack;
  }
docs: TODO: support Preact, Inferno, etc.