9.2.1, Angular, .NET Core
Currently, I'm trying to improve client performance and came accross SubHeaderComponent. SubHeaderComponent is declared and exported by AppCommonModule, which is a shared module that declares and exports many more components.
SubHeaderComponent is a component that I use in all of my custom components and therefore I import it via shared AppCommonModule, also importing all the other components that I don't need - in most of my components SubHeaderComponent is the only component I need from AppCommonModule.
My question is: Woudn't it be better to declare and export SubHeaderComponent via a separate module, e.g. SubHeaderModule?
Let me know what you think!