TemplateRefs are Angular’s Render Props
Isaac Mann
3703

This is great! I was wondering how I would do this in angular. Just one note. You can create directives with a public viewContainerRef and apply them to the template-ref if you have more than one ‘render prop’ in your component. (this might also be a sing that your component is doing too much)

Like what you read? Give dewald a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.