#Salesforce #Spring’24 Release – Non-LightningElement classes experience a syntax error if decorators are utilized.
Post Views:18
In LWC API version 60.0 and beyond, decorators can only be used within components that extend the LightningElement class. If you’re using decorators in other classes, you must remove them.
References & Useful URLs
For Related Spring’24 Release Note Article visit:Click Here