Introducing the Directive Composition API in Angular v15

Поділитися
Вставка
  • Опубліковано 17 лис 2022
  • We are pleased to announce the new Directive Composition API, a long-awaited feature that allows Angular Developers to reuse behaviors from directives without those directives appearing in its public API. Watch an overview and demo of how this works in Angular v15.
    Speaker: Jeremy Elbourn
    Watch more from the Angular v15 Launch Event → goo.gle/Angularv15
    Subscribe to Angular → goo.gle/Angular
    Angular Twitter → / angular
    #Angular #Developer
  • Розваги

КОМЕНТАРІ • 14

  •  Рік тому +2

    IDE complains about the attribute [panel ], but I am so in love with this that I am removing Bootstrap and switching all the code to TailwindCSS + CDK

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

    Looking Super Sharp Jeremy!

  • @zokizuan
    @zokizuan Рік тому +1

    Finally, Its here!!

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

    Amazing presentation.

  • @jeffnikelson5824
    @jeffnikelson5824 Рік тому +6

    this is so awesome
    a pitty that my company is stuck with angular 12 xD

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

    so good ! thx

  • @frontend3409
    @frontend3409 Рік тому +7

    What's the rest of top5 requests?

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

    Thank you for this presentation.

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

    looks very similar like “host-events” property in component

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

    🔥

  • @puneetsharma1437
    @puneetsharma1437 Рік тому +1

    please give some examples with stackbliz that is so much better

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

    Do hostdirectives work with angular elements?

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

      Before it is Angular Element, it is a component. Converting components to Angular Elements maps its all inputs and outputs to attributes and events. hostDirectives 'exposes' which is 'adds' inputs and outputs (if needed) so I don't see any problems with that.
      In the end hostDirectives works the same way as we would inherit from those directives. The change is in the way we implement that which is in this case a composition instead of inheritance which makes is much easier to deal with.

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

    COMIC SANS WARNING ⚠️