Where to find auth guard in the version 7
I have been using the auth-guard in version 6. Now I have upgrade to version 7 with modular setup. But I can't seem to find the auth-guard in the modular bundle. It is available in the compact bundle, but I assume that we should not use the one from compact bundle, that would not take advantage of the tree shacking. So there is no replacement and we should just write our own guard?
This issue does not seem to follow the issue template. Make sure you provide all the required information.
Modular does not have an auth guard yet, aiming to get this into 7.1
You can currently import it like that:
import {AuthGuard} from '@angular/fire/auth-guard';
A modular auth guard is available: you can import it with import { AuthGuard } from '@angular/fire/auth-guard', as noted above.
Since that covers the modular replacement you were looking for, I'm closing this. If the auth guard is missing something you need on a current version, please open a new issue and we will follow up.