xsburg / vscode-javascript-booster

Sprinkle extra refactorings, code actions and commands over your JavaScript! 🍩 TypeScript and Flow are first class citizens as well!
https://marketplace.visualstudio.com/items?itemName=sburg.vscode-javascript-booster
159 stars 13 forks source link

Convert to forwardRef should add a displayName #50

Open lucasmotta opened 1 year ago

lucasmotta commented 1 year ago

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!