react-function-to-class:toClassor use it from the command palette.
Supports arrow functions, anonymous functions and function declarations.
You can extend anything you like:
Optionally auto-implement methods you might want to use:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.