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

  • 2
  • Idea
  • Updated 2 years 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.


Photo of Louis Skelton

Louis Skelton

  • 5,626 Points 5k badge 2x thumb
  • quite fine

Posted 2 years ago

  • 2
Photo of Zach McElrath

Zach McElrath, Employee

  • 54,366 Points 50k 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.