Having the need to render contents in modal windows in blazor, one could use the approach of having the popup component in the parent page with visibility set to false and so on for the components present in it. However, this implies of having the component already rendered (even if not visible) with implications on performance.
What are the best practices for rendering modal viewports in Blazor?