diegohaz/generact

Generating Store Logic - Actions, Reducers, Selectors and Sagas

kamescg opened this issue · 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?

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)

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.