This content describes an older version of this product.
View Latest
Fixing Performance Warnings
A few common performance anti-patterns in code prompt the framework
to log warning messages to the browser console. Fix the warning messages to speed up your
components!
The warnings display in the browser console only if you enabled
debug mode.
<aura:if> —Clean Unrendered Body —Clean Unrendered Body
This warning occurs when you change the isTrue attribute of an <aura:if> tag from true to false in the same rendering cycle. The unrendered body of the <aura:if> must be destroyed, which is avoidable work for the framework that slows down rendering time.