generact icon indicating copy to clipboard operation
generact copied to clipboard

Generating Store Logic - Actions, Reducers, Selectors and Sagas

Open kamescg opened this issue 8 years ago • 2 comments

Maybe this might be integrated in one of the tools you published, but I really like the Redux store approach in the Arc repo.

In addition to generating Generact creating components, would you be open to adding support for Generact generating Redux store logic: actions, reducers, selectors and sagas into the Generact CLI?

I would love to contribute and help write the code if you're open to a pull request?

kamescg avatar Jun 17 '17 23:06 kamescg

I'm thinking about this. But on redux it's very hard to keep it "working no matter how the app is structured".

Maybe it should be another project (generux? hahaha)

diegohaz avatar Jun 18 '17 21:06 diegohaz

I like the idea of Generux :)

I was thinking it could follow the convention used in the Arc repo. It doesn't have to work for every project, just every project that follows a certain strategy/approach to managing state.

My initial thoughts were the CLI could contain more in-depth questions are also possibly interact with a JSON file to pull a seed variables.

kamescg avatar Jun 18 '17 22:06 kamescg