Hi Maickel Hubner!
Great question, I would put store and reducers for shared state in code in dedicted state modules like
/core/user with its own action /reducers /…
Then I would create state that it specific for features in the features themselves… (NgRx does not care if the state is…
Not sure if I get it but in general, I put reusable services in
/core directory (and sub directories based on feature eg
/core/user ) and I use
providedIn: 'root' . So they are not in
providers: [ ] of the
Hi Subodh Kumar!
Yes, that’s right, you will lazy load the whole library if it was built like that! Usually that’s enough because if you’re already embracing libraries, you can implement single feature per library and lazy load them one by one.