Angular Routing Essentials: All You Need to Know in One Video!

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 35

  • @wurstkocher842
    @wurstkocher842 Месяц назад +1

    I am not joking, this is the best angular tutorial video I have ever seen. Everything very clear and straight to the point

  • @Time-mv8oo
    @Time-mv8oo 2 месяца назад

    What an amazing video. Thank you very much i really learned alot!

  • @tobalhenriquez8233
    @tobalhenriquez8233 3 месяца назад

    You are the best!! I will buy one of these courses for sure!!

  • @shahnawazk
    @shahnawazk 3 месяца назад +1

    Great video and very much helpful, Keep it up!

  • @manojv2893
    @manojv2893 3 месяца назад

    This is great way of reading data from dynamic parameters and query parameters. Previously we had to subscribe in order to get the data. Love your content. Thank you
    Also i had taken up your ngrx course on udemy. But now i think we need a refresh of the same as we now have signal stores 😅😅

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад +3

      Glad it was helpful! Signal store is not global therefore we can't replace ngrx store with it. It is suitable for organazing local signals for comp.

  • @advance5189
    @advance5189 3 месяца назад +1

    Very helpful. Thanks!

  • @Pankecal-v4k
    @Pankecal-v4k 3 месяца назад

    Great video. Thanks so much :)

  • @bartlomiejuminski
    @bartlomiejuminski 3 месяца назад +1

    19:44 I would like to see how to use async resolver to load data from the API, based on route paramater.

  • @07bakabaka
    @07bakabaka 3 месяца назад

    amazing content

  • @Ferminmolinuevo
    @Ferminmolinuevo 3 месяца назад

    Amazing!!!

  • @jxndwl
    @jxndwl 28 дней назад

    Extremely helpful video to understand routing in Angular, I watched 5 times. The only confusing me is router-outlet is a directive instead of a component?

  • @AriaMoradi-z1z
    @AriaMoradi-z1z Месяц назад

    Amazing content! but i have a question.. In Angular 18, we use input to get parameters and we no longer need ActivatedRoute?

  • @OCEMTechZone
    @OCEMTechZone 3 месяца назад

    Great

  • @wilco886
    @wilco886 3 месяца назад

    Could you share your vscode profile/config, looks nice

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад

      I covered it here ruclips.net/video/lvKjSBbQXxs/видео.htmlsi=zHnipazX6VvJvO5E

  • @xEnergyGamingHD
    @xEnergyGamingHD 3 месяца назад

    can angular also infer the queryParams when the route component is a module? Or does this only work for standalone components?

    • @ВячеславПолуботько
      @ВячеславПолуботько 3 месяца назад

      Angular can infer queryParams for both module-based components and standalone components. The way queryParams are handled is independent of whether the component is part of a module or is a standalone component.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад

      Yes. And additionally in this case it's just a plain component where router feeds params from either params, query or data. You can even use this comp without router.

  • @mrluckyuncle
    @mrluckyuncle 3 месяца назад

    How does the “input” signal return different values?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад

      What do you means by return? Angular router passed properties from data, params and query params. If you have such input, you will get a value.

    • @mrluckyuncle
      @mrluckyuncle 3 месяца назад

      @@MonsterlessonsAcademy Sorry I wasn't clear. Maybe this is a dumb question but the right-hand side of the equal sign is the same in these two lines, and yet pageId and limit are different:
      pageId = input.required();
      limit = input.required();
      How is this possible?

  • @VinodSalunke-t7x
    @VinodSalunke-t7x 3 месяца назад

    am getting this compilation issue while using redirectTo
    Type '(routes: any) => string' is not assignable to type 'string'.
    below is my code for it
    {
    path:'old-pages/:pageId',
    redirectTo: (routes)=>{
    return `/pages/${routes.params['pageId']}`;
    },
    },

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад +1

      Are you on the older Angular version? Then routerTo function doesn't exist.