vscode-javascript-booster icon indicating copy to clipboard operation
vscode-javascript-booster copied to clipboard

Convert to forwardRef should add a displayName

Open lucasmotta opened this issue 2 years ago • 0 comments
trafficstars

Love your extension as it's saving me a lot of time refactoring some components. One thing I noticed is that when you convert a Component to forwardRef, it doesn't include the displayName, which is a very nice thing to have.

MyComponent.displayName = 'MyComponent'

Cheers!

lucasmotta avatar Aug 09 '23 15:08 lucasmotta