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 prefix parameter. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add prefix parameter. #13

wants to merge 1 commit into from

Conversation

NOX73
Copy link

@NOX73 NOX73 commented Dec 19, 2015

This lib very often uses for react flux-like libs for constants definition. Would be nice if I could specify the prefix for values.

@AaronHarris
Copy link

+1, was about to submit a PR for just this. It's really helpful when dealing with multiple constants across many action creators, so each action type doesn't have to be UserConstants.ADD_USER and instead could be User.ADD (with constants shimmed into the User class since they're unique).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants