inDepth.dev
  • Our Manifesto
Subscribe
Tagged

angular-dynamic-components

A collection of 3 posts

Rendering dynamic components by selector name in Ivy
angular

Rendering dynamic components by selector name in Ivy

Rendering Components with component selector name along with lazy module loading. The approach that works with Angular Ivy & AOT compilation.

  • Tarang Khandelwal
Tarang Khandelwal Nov 20, 2020 • 5 min read
Agnostic components in Angular
angular

Agnostic components in Angular

When you’re building a reusable components library, API is very important. On one hand, you want a tidy, reliable solution, on the other — you need to take care of lots of specific use cases. Learn how to make components that work with everything and look like anything!

  • Alex Inkin
Alex Inkin Aug 5, 2020 • 12 min read
Here is how to get ViewContainerRef before @ViewChild query is evaluated
angular

Here is how to get ViewContainerRef before @ViewChild query is evaluated

ViewContainerRef can usually only be used after ngAfterViewInit hook. This article shows how to get access to ViewContainerRef earlier using a directive instead of template reference and ViewChild query.

  • Max Koretskyi
Max Koretskyi Jun 6, 2017 • 3 min read
inDepth.dev © 2023
Powered by Ghost