It currently looks like the `map.get(element)` returns `undefined` even for previously-loaded elements. Are we evicting from the cache prematurely? Why?

Our second level caching (inside of `parseHookNames`) is working but this is still resulting in a lot of unnecessary work.
let hookNames: HookNames | null = null;
  if (!elementHasChanged && element !== null) {
    inspectedElement = inspectElement(element, state.path, store, bridge);
    if (enableHookNameParsing) {
      if (parseHookNames) {
        if (
          inspectedElement !== null &&
          inspectedElement.hooks !== null &&
          loadHookNamesFunction !== null
        ) {
          hookNames = loadHookNames(
            element,
            inspectedElement.hooks,
            loadHookNamesFunction,
          );
        }
      }
    }
  }
  const toggleParseHookNames: ToggleParseHookNames = useCallback<ToggleParseHookNames>(() => {
    startTransition(() => {
      setParseHookNames(value => !value);
      refresh();
    });
  }, [setParseHookNames]);
  const inspectPaths: InspectPathFunction = useCallback<InspectPathFunction>(
    (path: Path) => {
      startTransition(() => {
        setState({
          element: state.element,