wix-incubator / vscode-glean

The extension provides refactoring tools for your React codebase
MIT License
1.46k stars 56 forks source link

Extract to arrow function by default? #163

Open zomars opened 2 years ago

zomars commented 2 years ago

Right now to achieve this I need to open the refactor menu then select "Extract Component", the select the newly extracted component, then "Refactor Function to Class component", then "Convert Class to Function component" and only then I get an arrow function.

Is there a better way to extract a component directly to an arrow function?

wkd-kapsule commented 11 months ago

Please, can someone make it happen?