Tl;dr: It seems the core.module
style is no longer part of the official Angular Style Guide, but it must have been removed only recently. What is the new best practice for importing singleton services and why was the style removed?
I just read this guide on getting started with Angular Material and it states
Then (as per the Angular Style Guide) I created a Core module
I checked the Style Guide, but can't seem to find the guideline referenced here. During my search I stumbled over the following sources:
A blogpost from Nov. '18 explaining the difference between core.module and shared.module.
This question from Oct. '17 with a very detailed explanation of the core.module.
This question from Jul. '18, which went unnoticed.
The last Question refers to the core.module
style with this link:
https://angular.io/guide/styleguide#core-feature-module
It seems the #core-feature-module
anchor has been removed and is no longer part of the official Angular style guide. Only the shared feature module guideline remains.
Why was the core.module
guideline removed? What is the new best practice for importing singletons such as services?