Activity › Forums › Salesforce® Discussions › What is the use of renderIf in Salesforce lightning component? Tagged: renderIf, Salesforce Lightning, Salesforce Lightning Components Salesforce® Discussions What is the use of renderIf in Salesforce lightning component? Posted by Anurag algoworks on August 17, 2018 at 2:51 PM What is the use of renderIf in Salesforce lightning component? shariq replied 7 years, 8 months ago 3 Members · 2 Replies renderIfSalesforce LightningSalesforce Lightning Components 2 Replies Parul Member August 18, 2018 at 5:17 AM Hello Anurag, aura:renderIf : If you expect to show the components for both the true and false states use renderif, and it would require a server round trip to instantiate the components that aren’t initially rendered. [adinserter block='9'] shariq Member September 14, 2018 at 10:47 PM Hi, It is basically used for show and hide the components. To add more – aura:renderIf is deprecated as I read on developer.salesforce, use aura:if <aura:component> <aura:if isTrue=”{!v.truthy}”> True <aura:set attribute=”else”> False </aura:set> </aura:if> </aura:component> Hope this helps. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me