<!--
  Note: if the issue is about documentation or the website, please file it at:
  https://github.com/reactjs/reactjs.org/issues/new
-->

**Do you want to request a *feature* or report a *bug*?**
Bug

**What is the current behavior?**
The profiler tab only shows this message even though I have a version greater than 16.5.

![Screen Shot 2019-09-06 at 13 26 47](https://user-images.githubusercontent.com/5483459/64444238-0d706c00-d0aa-11e9-8d32-810465a13433.png)


Something strange on the console is this message and just appears when the extension is active.

![Screen Shot 2019-09-06 at 13 25 17](https://user-images.githubusercontent.com/5483459/64444170-e74acc00-d0a9-11e9-8b7c-acaa31e50cea.png)

**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**
React **16.9.0**
React DevTools **4.0.6-a39d9c3**

ElementTypeFunction,
  ElementTypeMemo,
} from 'react-devtools-shared/src/types';
import {localStorageGetItem, localStorageSetItem} from './storage';
import type {ComponentFilter, ElementType} from './types';
const cachedDisplayNames: WeakMap<Function, string> = new WeakMap();
let encodedStringCache = new LRU({max: 1000});
export function getDisplayName(
  type: Function,
  fallbackName: string = 'Anonymous',
): string {
  const nameFromCache = cachedDisplayNames.get(type);
  if (nameFromCache != null) {
    return nameFromCache;
  }
  let displayName;
  
  
  
  if (typeof type.displayName === 'string') {
    displayName = type.displayName;
  }
  if (!displayName) {
    displayName = type.name || fallbackName;
  }
  cachedDisplayNames.set(type, displayName);
  return displayName;
}
let uidCounter: number = 0;
export function getUID(): number {