Why is ng-template in Angular 10 rendered twice?

前端 未结 0 1129
被撕碎了的回忆
被撕碎了的回忆 2021-01-29 21:38

I figured out a problem with twice rendered components when a ng-template and ngTemplateOutlet are used. But why?

HTML:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题