Salesforce
PDII · Question #181
How can a developer efficiently incorporate multiple JavaScript libraries, such as JQuery and MomentJS, in a Lightning component?
The correct answer is D. Join multiple assets from a static resource. See the full explanation below for the reasoning.
Question
How can a developer efficiently incorporate multiple JavaScript libraries, such as JQuery and MomentJS, in a Lightning component?
Options
- AUse JavaScript remoting and script tags
- BUse CDNs with script attributes
- CImplement the libraries in separate helper files
- DJoin multiple assets from a static resource
How the community answered
(32 responses)- A6% (2)
- B3% (1)
- C9% (3)
- D81% (26)
Community Discussion
No community discussion yet for this question.