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