I was reading the Angular documentation about modules, looking for a line that discourages importing a SharedModule inside the AppModule.
I didn't find anything about that, just a GitHub issue which states that it's better not to import it. However without any deep explain...
https://github.com/tomastrajan/angular-ngrx-material-starter/issues/47
Angular discourages providing services in the Shared modules, which indeed I agree. But nothing else.
So my question is:
Since all my feature modules are lazy-loaded, and needs to import the shared module, but also my app component needs to use stuff provided by the same shared module, is it a bad practice to import it into the AppModule?
What may the consequences be?
Thanks in advance to anyone