Migrating/Updating to Angular 14

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

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

  • @RaviKumar-im7kg
    @RaviKumar-im7kg 2 года назад

    Awesome 😀 Keep rocking 🤩I loved it. 👍 Thanks for the content. Keep posting this type of content, Waiting for it.

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      Thanks, will do. The next one of that type will be about NgRx

  • @AlainBoudard
    @AlainBoudard 2 года назад

    Thanks Rainer ! Excellent way to migrate to Standalone Components, very precise and clear !

  • @oscarlagatta
    @oscarlagatta 2 года назад

    Thank you Rainer for sharing this video, so many nice new features

  • @aram5642
    @aram5642 2 года назад

    Thank you Rainer for your restless effort in bringing in the ng latest! I am not yet able to show my enthusiasm for most of the v14 stuff, just yet ;-)
    (And I am still puzzled by the `throw new Error` thingy within switchMap 10:00... need to grab some water.)

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      Thanks a lot as well. That throw is TypeScript narrowing. TypeScript knows that an error is thrown if that type is undefined so in every code that follows, the variable cannot be undefined anymore. There are even more powerful things like You can read more about it on www.typescriptlang.org/docs/handbook/2/narrowing.html

  • @WhatsThatItsPat
    @WhatsThatItsPat 2 года назад

    Excellent video! Thank you for the very clear explanation.

  • @rmegal
    @rmegal 2 года назад

    Excellent work. Concise and very helpful.

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад +1

      Thanks Ray, looking at the list of the new features for Angular 14.2, I think I'll can create a video for that as well :)

  • @victorm9131
    @victorm9131 2 года назад

    Thanks for this wonderful migration tutorial Rainer. Keep it up :)

  • @oscarsangularchannel3956
    @oscarsangularchannel3956 2 года назад

    awesome video, thanks Rainer

  • @deepakpalsingh2963
    @deepakpalsingh2963 2 года назад

    Nice detail explanation !

  • @OlehBiblyi
    @OlehBiblyi 2 года назад

    Great explanation, thank you!

  • @iuriiprytula8796
    @iuriiprytula8796 2 года назад

    Great video, many thanks!

  • @robertbryan6485
    @robertbryan6485 2 года назад

    Hey Rainer, thanks for the video! Please continue to do these for all major Angular releases if you can!
    And, random question: can you share the keyboard do you use? It has a really nice sound to it!

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад +1

      Hi Robert, thanks a lot. Will continue to produce these kind of videos. I think I've used the Logitech Mx Keys for this video.

  • @nouchance
    @nouchance 2 года назад

    Amazing!

  • @jacqueskloster4085
    @jacqueskloster4085 2 года назад

    25:35 ah yes, the shared module
    we also have that, it unfortunately contains 3940583409583405 (approximately) components and 904385409568450968 (approximately) dependencies
    a pattern I really, really regret :D

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      Well, you kind of need some shared elements but I guess the art is not to make them the biggest part of your application... ;)

    • @jacqueskloster4085
      @jacqueskloster4085 2 года назад

      @@RainerHahnekamp the problem was to put all shared stuff into one Module 🤣

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      @@jacqueskloster4085 Ouch 🤕 😅

  • @PabloEscobar-us1wt
    @PabloEscobar-us1wt 2 года назад

    arigato liana sama

  • @loko1944
    @loko1944 2 года назад

    awesome

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      Great, I see you've found some use for it then 😁

  • @careygontinias3486
    @careygontinias3486 2 года назад

    hi! on the first instruction when i run the command npx ng update @angular/core @angular/cli, i always get the error "Migration failed: Incompatible peer dependencies found." what could be the solution for this?

    • @RainerHahnekamp
      @RainerHahnekamp  2 года назад

      Hello Carey, can you please post the full output of the error message?

    • @careygontinias3486
      @careygontinias3486 2 года назад

      @@RainerHahnekamp hello again, here is the error message I got:
      Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=4.4.3

  • @jullus1386
    @jullus1386 2 года назад

    Thank you!