Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract to arrow function by default? #163

Open
zomars opened this issue May 20, 2022 · 1 comment
Open

Extract to arrow function by default? #163

zomars opened this issue May 20, 2022 · 1 comment

Comments

@zomars
Copy link

zomars commented May 20, 2022

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
Copy link

Please, can someone make it happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants