0.0.3 • Published 8 years ago

contrib-subgen-react-webpack-container v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

contrib-subgen-react-webpack-container

Build Status

This is a sub generator for creating container components with Generator React Webpack v4. It is based on V4 of the generator (currently in beta). To inject the sub generator into Generator React Webpack, see the experimental generator-subgenext.

What it does

yo react-webpack:container foo
# Creates src/components/FooContainer.js

yo react-webpack:container foo --component
# Creates src/components/Foo.js and src/components/FooContainer.js. FooContainer.js renders <Foo />

The core generator's support for creating namespaced components as well as component options (e.g. --stateless, --nostyle) are supported when creating a --component along with the container.