Salesforce Platform Developer I (legacy) — Question 1

What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)

Answer options

Correct answer: B, C, D

Explanation

The correct options, B, C, and D, describe specific functionalities of the <ltng:require> tag, such as ensuring scripts are loaded only once, controlling the order of loading, and allowing parallel loading of scripts. Option A is incorrect because the tag does not load files from Documents, and option E is incorrect as it pertains to loading scripts from external sources, which is not a primary capability of this tag.