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?
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?