Skip to main content

Component should be able to contain an instance of itself

  • February 21, 2026
  • 0 replies
  • 3 views

Jurgen3

I imagine this limitation exists to prevent infinitely nested instances, but there are definitely use cases for instances nested within itself. I run into this problem with my UI “section” component which is basically a container with a title and some content. I need to be able to replace the content with some other content that also contains sections (e.g. to build a nested UI tree).