Это видео недоступно.
Сожалеем об этом.

Angular 18 New Feature for ng-content: Default Content

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • Angular 18 introduces a new feature for the ng-content element called Default Content (fallback content). This video explains in detail how the new feature works inside component templates.
    The new feature of the Angular framework helps developers optimize templates. Content projection now supports a default value that is automatically used if there is no projected content. Watch my video to learn the details in a clear way and with great visual style, using code examples and animated infographics.
    ℹ️ Thanks to the ‪@Angular‬ Team for a new useful feature.
    Source: github.com/ang...
    ☕️ Donation: / igorsedov
    For more tips and updates, follow me on:
    ▪️Twitter: / theigorsedov
    ▪️LinkedIn: / igorsedov
    ▪️Instagram: / theigorsedov
    Website: igorsedov.com
    Email: me@igorsedov.com
    #angular #angular18

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

  • @Tune_In_Tune_out
    @Tune_In_Tune_out 7 дней назад

    because of this video explanation i have subscribed to your channel

    • @theigorsedov
      @theigorsedov  7 дней назад

      Thank you for subscribing to my channel!👍 It means a lot to me, and I appreciate your support. It helps me continue to release new videos and allows my channel to grow.🚀 A new video will be published in a few days, and soon I will start publishing new videos more often.👨‍💻

  • @Tune_In_Tune_out
    @Tune_In_Tune_out 7 дней назад

    it was really a nice explanation brother thanks a lot for making such content

    • @theigorsedov
      @theigorsedov  7 дней назад

      Thank you so much for your comment! 😊 I'm glad you liked the video. I hope you enjoy my other videos about Angular as well. Your support means a lot!

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

    Nice explanation! Thank you!

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

      Great to hear you found my explanation nice! Thanks for watching and positive feedback.👍 Stay tuned for more Angular🚀 content coming soon!🔜

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

    This is greatly useful utility from Angular. Thanks for the video!

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

    Thank you, great work! Keep it going

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

      Awesome to hear you enjoyed it!👍 I'm publishing a new video about a new interesting feature of Angular 18🚀 tomorrow. Stay tuned for more Angular content coming soon!

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

    Thanks IGOR!

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

      Thanks for watching!👍 Stay tuned for a new video about a new interesting feature of Angular 18 tomorrow.🚀

  • @Tune_In_Tune_out
    @Tune_In_Tune_out 7 дней назад

    but one thing which you haven't explained was how to route this
    {
    path: '',
    redirectTo: 'first',
    pathMatch: 'full'
    },
    {
    path: 'first',
    component: FirstComponent
    },
    {
    path: 'second',
    component: SecondComponent
    }
    this is the path structure which everyone should follow then only it will appear on your browser

    • @theigorsedov
      @theigorsedov  7 дней назад +1

      Thank you for your valuable feedback and advice!👍 You are right, I should have explained it. I appreciate your help and will ensure future videos are more detailed, like the Angular Signal video on my channel. Thanks again!

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

    You can do the same thing with input and the input default in the child. More confusion with this feature

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

      Thanks for the suggestion and comment.👍 This is a great suggestion, I've added this topic to my list of ideas for new videos.✍️ Angular 18🚀 will be released this month and I'm currently releasing videos about new features (a new video coming this weekend).

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

      There is no confusion at all
      We are talking about content projection and not Inputs
      It is a really cool feature, which by a lot reduces the boilerplate if you want to implement it yourself

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

      Yes, this is a really useful and long-awaited feature (since 2016).
      I'm publishing a new video about another interesting feature of Angular 18 tomorrow.🚀