If you create a component via `React.memo` and then explicitly provide it with a `displayName`, DevTools ignore this display name. React version: 16.12.0 DevTools version: 4.4.0 ## Steps To Reproduce 1. Create a component like: ```tsx const FancyMemoComponent = React.memo(() => 'Check my name in DevTools') ``` 2. Provide it with a `displayName` ```tsx FancyMemoComponent.displayName = 'FancyMemoComponent' ``` 3. Check its name in DevTools. <!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Issues without reproduction steps or code examples may be immediately closed as not actionable. --> Link to code example: https://codesandbox.io/s/react-memo-display-name-vk7gv <!-- Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. --> ## The current behavior DevTools do not display the given `displayName`. ## The expected behavior DevTools should display the given `displayName`. ## Comments I am aware that the name can be picked from the function inside `React.memo`, but I prefer using anonymous functions. I am using this workaround: ```tsx FancyMemoComponent.type.displayName = 'FancyMemoComponent' ```