ngrx-styleguide
ngrx-styleguide copied to clipboard
Store directory location.
At https://github.com/orizens/ngrx-styleguide/blob/master/docs/store-single-directory.md you say, and repeat it in next rules, that store directory with reducers, selectors, side-effects and e.t.c. must be at core-dir. But, what's about at least lazy loading (that is accepted as best practice)? If I need that states only at this module, i would look for it there, it's intuitively and popular decision, for component and microservices architecture. And why, if i use many of modules in my project, and have many of reducers and states in it, i should transform my core store module into a trash? That's out of sense at my point of view. I agree, that relying on the SRP we must have a single point of truth, but these are not interconnected things. https://ngrx.io/guide/store/reducers - official guide, that say's about right modules architecture. If you mean store-single-directory only within the module, it is worth clarifying.
@objectisliper that's a valid point. feel free to open a pr with an edit.