"Set Expander" and "Set Tabbed View" components

I don’t understand how are work “Set Expander” and “Set Tabbed View” components to avoid every time the refresh window view in Human UI
Someone could be explain that with an example?
Thank you

Anyone have a suggestion about it?
Thank you

do you have an example of a gh script to give us? SetExpender and SetTab work quite well, I think, although I don’t use them very often.

Those components don’t have anything to do with avoid rebuilding the UI, they just simply allow you to control the state of the expander/tab programatically from GH. Just take an expander that has been added to a window, feed it into a Set Expander, and use a toggle to control the expander state, it’s pretty straightforward.