Providing it in root means that a lot of the dependencies pertaining to social login need to be loaded on the application start.
If I want to defer loading of social login related functionality, I need a way to provide SocialAuthServiceConfig at the component level. This requires providing SocialAuthService also at the component level.
Providing it in root means that a lot of the dependencies pertaining to social login need to be loaded on the application start. If I want to defer loading of social login related functionality, I need a way to provide
SocialAuthServiceConfig
at the component level. This requires providingSocialAuthService
also at the component level.