Helps you with creating react components.
This is technologies cli is using with:
- React
- classnames (classnames/bind to be clear)
- SCSS
- Flow
- Redux*
*-optional
You will get structure like this:
path/to/directory/${ComponentName}
- ${ComponentName}.js
- ${ComponentName}.scss
- package.json
This will create component directory with .js, .scss and package.json
crc comp path/to/directory/${ComponentName}
For functional component use flag -f OR --functional
crc comp path/to/directory/${ComponentName} -f
For Redux connect use flag -r OR --redux
crc comp path/to/directory/${ComponentName} -r