It explains about main decorators in Lightning Component Programming Model (@track,@api,@wire) and few examples on track decorator.
Note: As of Spring-20 release primitive properties are reactive by default even without using "track" decorator.
When you want to track the changes in the properties of object then we have to use @track for defining object property (eg:[{“fstame”:’’,”lstname”:’’}]
Source Code:
github.com/sal...
Blog URL:
salesforce-walk...
Негізгі бет Lightning Web Component - 02 (Decorators and Example on "track" decorator)
No video
Пікірлер: 12