Convert functions to classes
- There is no default keybinding for this package. Create your own pointing to:
react-function-to-class:toClassor use it from the command palette.

Supports arrow functions, anonymous functions and function declarations.
Configuration
You can extend anything you like: React.Component, React.PureComponent, Inferno.Component...
Optionally auto-implement methods you might want to use:
constructorcomponentWillMountcomponentDidMount