In Angular, a Resolve Guard is used to pre-fetch data before navigating to a route. This is particularly useful when you need to ensure that necessary data is available before a component is instantiated. By using a Resolve Guard, you can delay the n...
Markdown supported · ⌘↵ to post
Vignesh M
Breaking keyboards
Good one Deva, one minor suggestion I have is, don’t call them resolve guards. We already have route guards and it will confuse us. Call them as just resolvers. Ex: UserDataResolver, this makes the intent clear from the name and you can understand it just from routing file.