Share JavaScript Code in Lightning Web Components : Tushar Sharma

Share JavaScript Code in Lightning Web Components
by: Tushar Sharma
blow post content copied from  Salesforce News Technology Stuff
click here to view original post


Sometimes we need to share JavaScript code in Lightning Web Components (LWC). As code reusability is good feature and we can use same in LWC as well. To share JavaScript code between Lightning Web Components we need to create ES6 module. An ES6 module is a JavaScript file that explicitly exports variables or functions that...

The post Share JavaScript Code in Lightning Web Components appeared first on Salesforce News Technology Stuff.


February 20, 2021 at 10:48PM
Click here for more details...

=============================
The original post is available in Salesforce News Technology Stuff by Tushar Sharma
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================

Salesforce