Please report any feature requests or bugs on Github
Allows the creation of a react component with just a click of a button
-
Open the command pallete or right click on the folder you want to create, and choose
Create file
-
Type
Create file
and hit enter -
Choose the type of file you wish to create from the list of options
-
Enter the name of your file and component. This can either be just the name or a path
e.g
MyComponent
orpath/to/MyComponent
This extension contributes the following settings:
reactScaffold.useJSX
: use the jsx file extension for the generated filesreactScaffold.includePropTypesDeclaration
: include the prop-types import in the generated file
Users appreciate release notes as you update your extension.
Initial release
- Updated README
- Fixes file creating not working on OSX
- Fixes functional component creating class component
Simplified file creation process. More file types (class with lifecycle methods, Redux reducer)
Vulnerability fix