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.)
useContextMenu({
    data: {
      path: ['hooks', ...path],
      type:
        hook !== null &&
        typeof hook === 'object' &&
        hook.hasOwnProperty(meta.type)
          ? hook[(meta.type: any)]
          : typeof value,
    },
    id: 'InspectedElement',
    ref: contextMenuTriggerRef,
  });
  if (hook.hasOwnProperty(meta.inspected)) {
    
    if (__DEV__) {
      console.warn('Unexpected dehydrated hook; this is a DevTools error.');
    }
    return (
      <div className={styles.Hook}>
        <div className={styles.NameValueRow}>
          <span className={styles.TruncationIndicator}>...</span>
        </div>
      </div>
    );
  }
  
  
  const canRenamePathsAtDepth = depth => isStateEditable && depth > 1;
  const isCustomHook = subHooks.length > 0;