Lightning Archives

Decorators in Lightning Web Component

Author - Webner
|
0 Comments
|

The Lightning Web Component has three decorators.

@api
@track
@wire

@api: If we want to pass any variable from Parent component to child component then we use @api decorator. To pass data to the child component, we need to define a variable with @api decorator in the child Read more…

Features of lightning:recordEditform, force:recordData, lightning:recordViewform in Salesforce Lightning

Author - Webner
|
0 Comments
|

In salesforce lightning, sometimes we need to create, edit and save the records in the component. This is the time 3 types of components come into mind that arṣe recordEditform, RecordViewfrom, and recordData. We always get confused about which one to use.
The functionality of these components is basically Read more…