0

Say I have multiple components that require the same dependency to be loaded, does ltng:require perform accurate dependency management?
I.e. does it guarantee that the dependencies are loaded only once across different components?

1

Yes, as per the documentation here
The resources only load once if they are specified in multiple tags in the same component or across different components.

  • Missed that, thanks. – Trace Mar 8 '19 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.