-
Notifications
You must be signed in to change notification settings - Fork 50.5k
Closed
Labels
Resolution: StaleAutomatically closed due to inactivityAutomatically closed due to inactivity
Description
Do you want to request a feature or report a bug?
bug report
What is the current behavior?
Given a component like
export const MyComponent = (p) => {...};
MyComponent.displayName = "MyComponent";
but as soon as memo is added
export const MyComponent = memo((p) => {...});
MyComponent.displayName = "MyComponent";
Note that both actually show properly on the tree explorer, the issue is only in the timings section of a performance recording in chrome.
What is the expected behavior?
It should show the proper name on the timings when memo is used
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
Windows 10, Chrome 74, React 16.8.x (the latest version that was available on April 26)
This issue got copied from react devtools repo since @bvaughn suggested it was actually a react bug
facebook/react-devtools#1340
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: StaleAutomatically closed due to inactivityAutomatically closed due to inactivity

