wix-incubator / vscode-glean

The extension provides refactoring tools for your React codebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract to arrow function by default?

zomars opened this issue · comments

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?

commented

Please, can someone make it happen?