Sometimes named hooks inspection will seemingly fail the first time then work the second time. (e.g. using a DEV build of Facebook.com, the `<CometTheme>` component currently does this).

I _think_ this might indicate a timeout during inspection? (So the retry is fast because everything is cached.)
onChange={handleChange}
              title={toggleTitle}>
              <ButtonIcon type="parse-hook-names" />
            </Toggle>
          )}
          <Button onClick={handleCopy} title="Copy to clipboard">
            <ButtonIcon type="copy" />
          </Button>
        </div>
        <InnerHooksTreeView
          hookNames={hookNames}
          hooks={hooks}
          id={id}
          element={element}
          inspectedElement={inspectedElement}
          path={[]}
        />
      </div>
    );
  }
}
type InnerHooksTreeViewProps = {|
  element: Element,
  hookNames: HookNames | null,
  hooks: HooksTree,
  id: number,
  inspectedElement: InspectedElement,
  path: Array<string | number>,
|};
export function InnerHooksTreeView({