I'm currently building a Blazor Server application, and migrating code from an old AngularJs / ASP.NET MVC website. Part of that migration includes translating the html in the Angular pages into C# in the .razor pages.
One of my favorite properties in AngularJs was the "ng-if"/"ng-show"/"ng-hide", which allowed just putting a boolean expression into the html tag to determine whether it was visible or even included in the DOM.
In the Blazor app so far I have to instead surround my html with @if statements. While readable, and utterly functional, I would love to be able to put the "if" directly into the html tag itself. Is there a way to do this? (I utterly understand if there isn't)