* 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
const displayName = getDisplayNameForFiber(fiber) || 'null';
      const parentDisplayName =
        (parentFiber != null && getDisplayNameForFiber(parentFiber)) || 'null';
      
      
      
      console.log(
        `[renderer] %c${name} %c${displayName} %c${
          parentFiber ? parentDisplayName : ''
        }`,
        'color: red; font-weight: bold;',
        'color: blue;',
        'color: purple;',
      );
    }
  };
  
  const hideElementsWithDisplayNames: Set<RegExp> = new Set();