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 #218 | Blank picklist value is actually NULL

Salesforce Fact #929 | Nth highest in screen flow

Salesforce Fact #989 | New delete files permission