You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honestly why? Can't it use root component's ViewContainerRef by default? Sure, when you are making a demo and triggering the snackbar from a component upon a button click, getting hold of ViewContainerRef is easy. But you know, in real life, you are probably going to be triggering it from a service, or an effect, and there's no easyway to get hold of any ViewContainerRef there, making snackbar extremely annoying to use.