anorudes / redux-easy-boilerplate

React redux easy boilerplate
MIT License
632 stars 121 forks source link

Why are defined constant not used here? #74

Closed polarathene closed 8 years ago

polarathene commented 8 years ago

Hello, I was viewing this file and notice you export const to reference strings so they can be used in other classes, but you don't utilize them in the file itself? Why the string dupe?

anorudes commented 8 years ago

Hello, @polarathene. In this boilerplates we used redux-ducks where action creators and reducer in one file. And i think that "defined constants" not need, because need to write more code. Yes, i know about reducers which use one action, but it's very rarely.