supnate / rekit

IDE and toolkit for building scalable web applications with React, Redux and React-router
http://rekit.js.org
MIT License
4.48k stars 258 forks source link

Feature Request: Option to create separate component and container files when creating components #176

Open bp4151 opened 5 years ago

bp4151 commented 5 years ago

When creating a new component, it would be awesome if an additional option existed to split the container and jsx code when creating a connected component. My current employer separates everything out...

someFile.jsx someFile.container.js someFile.actions.js someFile.actionTypes.js someFIle.reducer.js someFile.saga.js

I like the way you have one file for one action. That makes things far easier for me to track things down. I don't really need the split of the actions, action types, and reducer, but separating the HTML from the container would be really helpful.

eduardolagares commented 5 years ago

I see benefits in this feature proposal when i have created a component and after i want to transform it in a container. In my own experience using rekit studio this feature was missing. Looking by other way, separating component and connected component can cause the developer to have to keep changing between multiple files during de coding. I really don't know if it is good or no, but i would like to have this feature on rekit!

benjaminbarbe10 commented 4 years ago

UP