Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reducers for generated components #5

Open
jayantbh opened this issue Sep 6, 2018 · 0 comments
Open

Add reducers for generated components #5

jayantbh opened this issue Sep 6, 2018 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jayantbh
Copy link
Contributor

jayantbh commented Sep 6, 2018

Is your feature request related to a problem? Please describe.
Components can not be created with any redux state using the CLI.

Describe the solution you'd like
Add a reducer file to the generated component, supported using a flag, and defaults.

Describe alternatives you've considered
No alternatives considered as of now.

Additional context
This will resolve a minor inconvenience of having to manually connect a component to redux.
It would be great if Terrace could also use JS code parsing and generation add the reducer for this, and other views to the root reducer automatically, but that's a different task altogether.

@jayantbh jayantbh added the enhancement New feature or request label Sep 6, 2018
@jayantbh jayantbh added this to the 1.0.0 milestone Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant