Can Match guard | Guards in angular | Angular 16

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 10

  • @dheerajsharma-of8xs
    @dheerajsharma-of8xs 2 місяці тому +1

    Its crystal clear Man❤

  • @sharabugnanesh3098
    @sharabugnanesh3098 10 місяців тому +2

    that's injected directly to my mind.
    tq bro

  • @mohdghufrankhan7307
    @mohdghufrankhan7307 11 місяців тому +1

    What if we have more than 2 routes with the same name ?? As canMatch is giving true/false , if true then the route with canMatch will work else the next route with the same path will execute right ? Could you please demonstrate one more example with more than 2 paths of the same name, if this could happen ???

    • @techshareskk
      @techshareskk  10 місяців тому +1

      1st thing we should never use same 2 routes because it always comes from top to bottom and it picks the first matched URL. It is always the way to use unique route for each route else it will not work as expected and hope you got my answer

  • @shusten21
    @shusten21 9 місяців тому +1

    My son, have pity on your eyes!!!

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

    NotFoundComponent