Це відео не доступне.
Перепрошуємо.
CanDeactivate Route Guard in Angular | Angular Routing | Angular 13+
Вставка
- Опубліковано 18 сер 2024
- The Angular CanDeactivate route guard determines whether we can navigate away from a route or not. In this tutorial, we will learn what is CanDeactivate route guard is and how to use it with a simple CanDeactivate example.
The Angular CanDeactivate route guard is called, whenever we navigate away from the route before the current component gets deactivated.
The best use case for CanDectivate route guard is the form component. The user may have filled the data in the form and tries to leave that component without saving his work. The CanDeactivate guard gives us a chance to warn the user that he has not saved his work and give him a chance to cancel the navigation.
Let's learn about CanDeactivate route guard in angular with a simple example and its use.
DOWNLOAD SECTION SOURCE CODE HERE: drive.google.c...
These videos are GOLD. You do such a great job explaining thank you for these videos!
One of the best playlists I found for Angular! Deserves more like and views! Well done
Good job mate, it's great to see such videos with proper explanation!
Thank you for uploading such well explanation video. God bless you.
Clear explanation brother thank you.
Brilliantly explained...
Very good explanation, thx so much !
Great content as usual
sir its was awesome
thanks
Good morning wishes.
Can you help me to solve this error "Error: Invalid CanActivate guard" I'm using angular 13, nodejs and mysql
Can you share the canActivate route guard code here?