Open
Description
https://github.com/ults-io/vscode-react-javascript-snippets/blob/HEAD/docs/Snippets.md#rmcp
Here you can see that it should create named function, but in reality it creates anonymous arrow function:
https://github.com/ults-io/vscode-react-javascript-snippets/blob/185bb91a0b692c54136663464e8225872c434637/src/sourceSnippets/components.ts#L239
There is significant advantage to have named function when debugging, and eslint rules to enforce naming functions within react memo.
Metadata
Metadata
Assignees
Labels
No labels