Option to not render a component (without using toggling, ui-model tomfoolery, etc)

  • 2
  • Idea
  • Updated 1 year ago
  • Planned
It'd be neat if there was a rendering option on components which was simply "Do not render". This would predominantly be for testing or if you wanted to hide a component temporarily but not throw away all of your good work.

I currently just add a rendering option of Page/URL Parameter asdfasdfg = fashjdgfkjahg to hide the component, which isn't terribly elegant...

Anyway, if I'm missing a simpler way of doing this please let me know.

Cheers!

Louis
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
  • quite fine

Posted 1 year ago

  • 2
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Official Response
Louis, we are planning to implement this in our next release --- it would be so much simpler to be able to just say "Don't render initially" than having to do, in your very accurate words, "Ui-Model tomfoolery", which should not be necessary.