title: Blazor - Add/load components dynamically
body: <p>I think I'm making a mistake right now. I have an overlay component. This overlays everything and can dynamically display content.</p>
  <p><a href="https://i.stack.imgur.com/1Bjet.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Bjet.png" alt="Overlay-Component" /></a></p>
  <p>In the navigation there is a function to filter the interface by tags. When clicking on this button, this overlay component should be displayed.</p>
  <p><a href="https://i.stack.imgur.com/lHs59.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lHs59.png" alt="Nav-Component" /></a></p>
  <p>As far as I have found out so far, there is only one a workaround: <a href="https://stackoverflow.com/a/50121654/9758079">Stackoverflow-Question</a> to add &amp; remove components dynamically. So the component is always present, but is dynamically displayed and hidden.</p>
  <p>I have now bound the visibility to a property. This works fine so far, but I was wondering how to do this with the data. I always want to have the current data from the database on the view.</p>
  <p>My idea now would be to say, every time the Visible property is set to true, the data is reloaded from the database. But then I would have to re-render the component somehow or reload the child content. Or how would you solve this?</p>