Deep Dive into the Angular Compiler | Alex Rickabaugh |

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

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

  • @chriswininger3022
    @chriswininger3022 4 года назад +11

    I love that trick where they add offsets into the template to the generated typescript to link back to the template on error. Such a beautiful hack.

  • @maratmartirosyan478
    @maratmartirosyan478 4 дня назад

    This is the first video(that I am watching), where Alex's camera is not shaking. 😊😊😂😂

  • @blackblather
    @blackblather 7 месяцев назад

    Yo that part about adding the number comments is so ugly and cool at the same time. I love and hate it 🤣🤣

  • @kresimirnurnberger6567
    @kresimirnurnberger6567 4 года назад

    Great talk and great work! Enjoyed every minute of it.

  • @rutshah8710
    @rutshah8710 3 года назад

    Excellent! Thank you very much!

  • @mahdikamran8061
    @mahdikamran8061 7 месяцев назад

    Thank you.

  • @andrewskangah3710
    @andrewskangah3710 4 года назад

    Alex Rickabaugh 👏

  • @coachkerni9464
    @coachkerni9464 3 года назад +1

    First of all: great talk :)
    However I am not getting one thing:
    When the typescript compiler is written in typescript, who is compiling the compiler? 🤷‍♂️

    • @MUKESHYADAV-lf8cv
      @MUKESHYADAV-lf8cv 3 года назад

      TypeScript compiler compiles the typescript code (.ts files) into javascript files. It takes .ts files and convert it into .js. It's like a automatic machine transforming raw materials into finished products. So, why would you wanna transform that automatic machine ? Similarly, why would one compile a compiler, there is no need of that.

    • @theshermantanker7043
      @theshermantanker7043 Год назад

      The TypeScript compiler compiles itself. This is what is known as a self hosting implementation

  • @sanjaygarg3540
    @sanjaygarg3540 3 года назад

    Amazing talk !!

  • @mohammedelhadididi4612
    @mohammedelhadididi4612 3 года назад +1

    When alex said that compilation process pass through 5 steps (3 like a normal typescript compiler and 2 angular specials) , is that true only when using AOT compilation or it doesn't matter if it's JIT or AOT compilation ?

    • @PrinceKumar-no3uo
      @PrinceKumar-no3uo 3 года назад +6

      JIT have 3 ( the regular ts compilation ), AOT have the two extra angular specials for analysing and resolving decorators.

  • @TheRajmoney
    @TheRajmoney 4 года назад

    awsome video

  • @tadejafirmanzajc7098
    @tadejafirmanzajc7098 4 года назад

    Great talk! 💪

  • @PrafullOnUTube
    @PrafullOnUTube 4 года назад

    cool explanation thx a lot

  • @masterlup
    @masterlup 4 года назад +1

    25:45 I dont understand what Alex means by "template in external file" and why is that a problem with the view engine :/.

    • @dongcai6203
      @dongcai6203 4 года назад +1

      You can write an html template in component file or in external file. The problem with the view engine is that if an error message occurs in the external file, it's hard to locate it. But now the Ivy engine solves this problem.

  • @masterlup
    @masterlup 4 года назад

    19:23 `imports: [...CONFIG.modules]`, we have to spread, right?