Welcome to Spring ’23 Release! Salesforce brings new conditional directives lwc:if, lwc:elseif, and lwc:else to solve the performance problem by making sure he property getters are accessed only one time per instance of the directive. With this release, the legacy if:true and if:else directives are no longer recommended as Salesforce is planning to deprecate and remove these directives in the future. Recommendation is to replace them with the new conditional directives.
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:01 - Introduction
0:21 - Demo
1:32 - Replace with lwc:if, lwc:else
2:27 - What is the reason for this change?
3:30 - How to handle complex expressions
3:34 - Conclusion
📌 Salesforce Spring 23 Flow Enhancements - • Salesforce Spring 23 Flow Enhancements
📌 External Services in Flow - HTTP Callout | Spring 23 Feature - • External Services in Flow - HTTP Call...
📌 Salesforce Spring '23 - Dynamic report filter that displays personalized results for each user • Salesforce Spring '23 - Dynamic repor...
📌 Salesforce Spring 23 Release - • Salesforce Spring 23 Release
📌 Salesforce Release Playlist - • Salesforce Release
#salesforce #if-else #spring23release #directive #conditional #lwc #performance #lwc-if #lwc-else
✨ Learn to code for free and get a developer job: https://www.sudipta-deb.in/
✨ Subscribe for new videos on technology every week: https://bit.ly/3vCQKpg
✨Connect with me
📌 Twitter: / thesudiptadeb
📌 Website: https://www.sudipta-deb.in/
📌 LinkedIn: / sudiptadeb
📌 Facebook: / technicalpotpourri
Credit: music from www.bensound.com
Disclaimer: All opinions are my own and this video content is not endorsed by Salesforce, Google or any other company in any way.