npm install --save react-display-name
Get the displayName from a Component. This is a common pattern with React Higher Order Components (HoCs). This is a simple reusable utility to get the name of a component.
Usage:
;;; const container = { static displayName = `Container()`; { return <WrappedComponent /> ; } return Container;} { return <div>Hello</div> ; } const HelloWorldPrime = ; to;to;