Це відео не доступне.
Перепрошуємо.

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...

КОМЕНТАРІ • 12

  • @blackoutapp
    @blackoutapp Рік тому +3

    These videos are GOLD. You do such a great job explaining thank you for these videos!

  • @ssyedyaseens
    @ssyedyaseens 2 роки тому +2

    One of the best playlists I found for Angular! Deserves more like and views! Well done

  • @marcopolocs
    @marcopolocs 2 роки тому +3

    Good job mate, it's great to see such videos with proper explanation!

  • @ranjanadeore2957
    @ranjanadeore2957 2 роки тому +1

    Thank you for uploading such well explanation video. God bless you.

  • @vinithkumare3137
    @vinithkumare3137 2 роки тому +2

    Clear explanation brother thank you.

  • @4444-c4s
    @4444-c4s Рік тому

    Brilliantly explained...

  • @aladdin1776
    @aladdin1776 Рік тому

    Very good explanation, thx so much !

  • @mainrowtech8437
    @mainrowtech8437 2 роки тому +1

    Great content as usual

  • @shivajikoli461
    @shivajikoli461 Рік тому +1

    sir its was awesome

  • @balaeinstein8710
    @balaeinstein8710 2 роки тому +1

    thanks

  • @amandiogalberto9516
    @amandiogalberto9516 2 роки тому +1

    Good morning wishes.
    Can you help me to solve this error "Error: Invalid CanActivate guard" I'm using angular 13, nodejs and mysql

    • @procademy
      @procademy  2 роки тому +1

      Can you share the canActivate route guard code here?