Hi guys, I was thinking of a nice feature to all components.
What about to make all components hide-able by razor and css internally?
Looking at code its better to <mycomponent Hide=true /> (For razor Hide) or <mycomponent Hidden=true /> ( For css hide)
Rather than @if(!hide) { <mycomponent /> } or <mycomponent class="@(hidden ? "d-none" : "")" /> }
<mycomponent Hide=true /> or <mycomponent Hidden=true /> looks cleaner rather than applying if or conditional parameter everywhere for hiding components.