> You can just use the strings inline
Well, that would be much worse, don't you think?
My point was that having to keep identifiers to everything is silly.
Well, that would be much worse, don't you think?
My point was that having to keep identifiers to everything is silly.
There are also patterns to reduce the import issue. For example, https://github.com/erikras/ducks-modular-redux. I prefer defining my actions with my action creators in one big index, but the point is that there is absolutely a way to mitigate this concern if it bothers you :)