How To Use Decorators and Mixins in Salesforce Lightning Web Componentsby@MichaelB
992 reads

How To Use Decorators and Mixins in Salesforce Lightning Web Components

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Salesforce developed Lightning Web Components (LWC) as a fast, enterprise-grade wrapper around vanilla web components. LWC is not only built on top of the ECMAScript standard, it also provides some nifty syntactic sugar that can transpile into standard JavaScript. Mixins take advantage of inheritance, which copies all of the properties from one object onto another. Decorators are currently a proposal to add to JavaScript, but they're so useful that many frameworks already support them.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Use Decorators and Mixins in Salesforce Lightning Web Components
Michael HackerNoon profile picture

@MichaelB

Michael

I run Dev Spotlight - we write tech content for tech companies. Email at [email protected].


Receive Stories from @MichaelB

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!