Skip to content

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