Which performs better. Wrapping in #if or setting isVisible=false?


#1

I noticed in the templates if you wrap anything in an #if block it will short-circuit any processing of the content inside that block but the isVisible doesn’t do this.

I’m wondering if using the {{#if }} leads to a performance increase if i wrap all of my components that would be hidden in it. From what i can tell most addon developers don’t employ this technique at all.

Whats the standard way of short-circuiting the processing of a portion of a template?