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

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ •

  • @wurstkocher842
    @wurstkocher842 2 місяці тому +2

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

  • @manojv2893
    @manojv2893 4 місяці тому

    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  4 місяці тому +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.

  • @tobalhenriquez8233
    @tobalhenriquez8233 4 місяці тому

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

  • @shahnawazk
    @shahnawazk 4 місяці тому +1

    Great video and very much helpful, Keep it up!

  • @Time-mv8oo
    @Time-mv8oo 4 місяці тому

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

  • @advance5189
    @advance5189 4 місяці тому +1

    Very helpful. Thanks!

  • @Pankecal-v4k
    @Pankecal-v4k 4 місяці тому

    Great video. Thanks so much :)

  • @onlybsj
    @onlybsj 27 днів тому

    Very cool and nice content, for real!!! can you expecify the angular version in description ? TNX

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  25 днів тому +1

      You can check the attached source code and see the Angular version in package.json.

    • @onlybsj
      @onlybsj 23 дні тому

      @@MonsterlessonsAcademy sorry mate i'm layzier than my routes

  • @jxndwl
    @jxndwl 2 місяці тому

    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?

  • @Ferminmolinuevo
    @Ferminmolinuevo 4 місяці тому

    Amazing!!!

  • @07bakabaka
    @07bakabaka 4 місяці тому

    amazing content

  • @bartlomiejuminski
    @bartlomiejuminski 4 місяці тому +1

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

  • @AriaMoradi-z1z
    @AriaMoradi-z1z 2 місяці тому

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

  • @wilco886
    @wilco886 4 місяці тому

    Could you share your vscode profile/config, looks nice

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  4 місяці тому

      I covered it here ua-cam.com/video/lvKjSBbQXxs/v-deo.htmlsi=zHnipazX6VvJvO5E

  • @xEnergyGamingHD
    @xEnergyGamingHD 4 місяці тому

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

    • @ВячеславПолуботько
      @ВячеславПолуботько 4 місяці тому

      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  4 місяці тому

      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 4 місяці тому

    How does the “input” signal return different values?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  4 місяці тому

      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 4 місяці тому

      @@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?

  • @OCEMTechZone
    @OCEMTechZone 4 місяці тому

    Great

  • @VinodSalunke-t7x
    @VinodSalunke-t7x 4 місяці тому

    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  4 місяці тому +1

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