Thursday, September 7, 2017

*ngIf="0"

This is a hack to wall off a feature in an Angular 4 app from seeing the light of day. You'd put it at a component's HTML tag where applicable. This may be preferred to removing the feature if you think you are gonna circle back to the feature or you just can't kill your baby. Maybe the feature will be used, just not in the most immediate release or something like that.

No comments:

Post a Comment