DEV Community

Discussion on: Created a React/Redux Component generator

Collapse
 
clamstew profile image
Clay Stewart • Edited

This is great. I was gonna do some scripts like this for some of our repo patterns - with only slightly different directory structures. This will be a great jumping point.

Collapse
 
glekner profile image
Gilad Lekner

Thanks!

I thought about supporting more structures, how is your structure different?

Collapse
 
clamstew profile image
Clay Stewart

Usually we’ll start with the component containing the emotion css as well as the connected component wrapper. And the reducer file has selectors and actions. Only big modules get there on files for each piece.