#Salesforce #Spring’24 Release – Object Rest and Spread Transpilation are no longer supported.

LWC now uses babel/core and babel/parser to compile code. Custom components (LWC API Version 60.0+) should adopt native rest & spread syntax for better performance instead of relying on the Babel transpiler.

Moreover, update your component API version to use native syntax.

References & Useful URLs

For Related Spring’24 Release Note Article visit: Click Here

Leave a Reply