Salesforce Fact #198 | LWC variable naming restriction

We cannot declare an @api variable with the name starting with data in LWC as those are considered to be reserved attributes. However, it is not an error in case of @track.

Attached are the screenshots.




Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow