Skip to content

sthzg/contrib-subgen-react-webpack-container

Repository files navigation

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.

About

A Container Subgen for Generator React Webpack

Resources

Stars

Watchers

Forks

Packages

No packages published