You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the code, the sole purpose of RouteComponentTemplate is to provide TemplateRef for RouteComponent to use as the container outlet. These are equivalent:
Yep, they are equivalent, and that's why I added it just so the user doesn't have to remember to wrap every component in an ng-template or a unnecessary ngIf. I'd like to do something like #37 if possible
Based on the code, the sole purpose of
RouteComponentTemplate
is to provideTemplateRef
for RouteComponent to use as the container outlet. These are equivalent:Seems unnecessary to define custom directive when
ng-template
within RouteComponent could solve this.What was the reasoning behind it? Is RouteComponentTemplate planned to have some logic in the future?
The text was updated successfully, but these errors were encountered: