Activity Forums Salesforce® Discussions What decorators are available in LWC Lightning Web component?

  • Shweta

    Member
    December 17, 2020 at 3:21 pm

    In Lightning Web Components, we are having three types of Decorators.
    @api.
    @track.
    @wire.

  • Anjali

    Member
    December 18, 2020 at 1:16 pm

    Decorator is a part of ECMA script and used to add extra functionality in your function or methods. In LWC we use 3 decorator to enhance the functionality of our property or function.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos