How to include JavaScript code only once for multiple use of a composite component on a page?
At first I put the JS code inside the cc:implementation tags, but this led to the script being included every time with the components. I want to avoid this condition and enable JavaScript only once, even if the component was used several times on the page.
Rajat gupta
source share