It would be nifty if as an option for visibility on say a container, we could use a microflow or nanoflow that returned a boolean value. That way we’d be able to perform more in-depth logic to hash out conditional visibility.
Yeah, would be nice. Maybe based on a rule (introducing nanoflow rules too).
Regarding Danny's comment in the last link about performance. I think it is up to the developer to make sure it keeps performing. I have seen some very creative solutions just to get conditional visibility to work (various DS and helper entities), and I'm sure those are not performing well. Restricting it to rules will help too.