* Don't show "context" for classes without either contextType or contextTypes
* For classes with contextTypes, change the label to "legacy context" instead

---
Originally reported by @gaearon via https://github.com/bvaughn/react-devtools-experimental/issues/368
CoroutineComponent: number,
  CoroutineHandlerPhase: number,
  DehydratedSuspenseComponent: number,
  ForwardRef: number,
  Fragment: number,
  FunctionComponent: number,
  HostComponent: number,
  HostPortal: number,
  HostRoot: number,
  HostText: number,
  IncompleteClassComponent: number,
  IndeterminateComponent: number,
  LazyComponent: number,
  MemoComponent: number,
  Mode: number,
  Profiler: number,
  SimpleMemoComponent: number,
  SuspenseComponent: number,
  YieldComponent: number,
|};
type ReactTypeOfSideEffectType = {|
  NoEffect: number,
  PerformedWork: number,
  Placement: number,
|};
const getCurrentTime =
  typeof performance === 'object' && typeof performance.now === 'function'
    ? () => performance.now()
    : () => Date.now();
export function getInternalReactConstants(