You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that whenever I'm styling a component it shows in react dev tools as Styled.[tag] with a forwardRef for the html element.
My suggestion is pretty basic, make all the components created to be named.
I'm not fluent in the inner workings of the library but if a 3rd argument can be passed into the component to give it a name, or somehow make the component derive it's name from the variable it's being passed into (magic?) it would be awesome!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi team,
I've noticed that whenever I'm styling a component it shows in react dev tools as Styled.[tag] with a forwardRef for the html element.
My suggestion is pretty basic, make all the components created to be named.
I'm not fluent in the inner workings of the library but if a 3rd argument can be passed into the component to give it a name, or somehow make the component derive it's name from the variable it's being passed into (magic?) it would be awesome!
Beta Was this translation helpful? Give feedback.
All reactions