Slide deck from my talk to the London Salesforce Developers Trailblazer Community Group on the features of interest to developers in the Spring 24 release of Salesforce. Includes GA and Beta/Preview features.
• Max two levels • Not polymorphic relationships Set field visibility by device Auto-enabled for mobile in new orgs See fields object relationship/API name 31/01/2024 3
behaviour matches API version in config • 58.0 or earlier = 58.0 • Later than org API = current release Empty comment nodes replace empty text nodes • E.g. scoped slots, lwc:if • Check and update UI tests 31/01/2024 4 <template> <template lwc:if={showWelcome}>Welcome</template> </template> "Welcome" <!----> "Welcome" <!---->
error in API 60.0+ LWC Workspace API GA • Manage tabs/subtabs in Lightning Console app • Requires Lightning Web Security Lightning Record Picker component GA • Search/retrieve up to 100 records • Select records for further action 31/01/2024 5
shadow mode • Polyfill of shadow DOM that works cross browser • Most modern browsers now support native shadow mode Improves speed - "native components are up to 50% faster" Reduce LWC side by half – eventually, when synthetic polyfill removed Set shadowSupportMode to 'native' to force native shadow mode • All child components use native shadow mode too • May break if child doesn't support native • Don't use with base Lightning components 31/01/2024 9
Includes: • Installed Packages • Metadata • Data Enable in Dev Hub CLI commands to manage snapshots Expire after 30 days 31/01/2024 10 bobbuzz.me.uk/SnapScratch
Recalculate formula fields without DML • Build formula using FormulaBuilder • Evaluate with record using FormulaInstance Access global variables Treat numerics as null or zero 31/01/2024 14