Sharing JavaScript Code in Lightning Aura Components and Freezing JavaScript Prototypes
The Winter ’19 release introduces a new session setting Freeze JavaScript Prototypes for Improved Security and Stability.
In my blog post, I point out how this may affect the way you choose to securely share code between Lightning Aura Components.
Head over to my blog to read the full post, see screen shots, code snippets, and more to:
- Learn Lightning security features to mitigate risks of malicious JavaScript code.
- Learn about sharing JavaScript code between Aura components using shared objects and service components.
- Learn how Winter ’19 feature “Freeze JavaScript Prototypes” influences how you choose to share JavaScript code between components.
###
I’m a Salesforce Developer and Technical Leader. Learn more about my passion for Salesforce.com solutions @DouglasCAyers and douglascayers.com.
Great article Doug. So managed packages which use shared object approaches will be affected when deployed on subscriber orgs which have the Freeze Javascript Protype feature enabled?