What is the role of the CoreModule and why must it be loaded once?

Expert Angular

Answer

CoreModule contains global singletons (services, interceptors, configs). Loading it more than once creates duplicate instances and breaks global state.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice