What is the proxy object?
The Proxy object ensures that a component only sees DOM elements created by a component in the same namespace.
Lightning Locker uses the standard JavaScript Proxy object to filter a component’s access to underlying JavaScript objectsWhen a component creates a JavaScript object, Lightning Locker returns the raw JavaScript object. When Lightning Locker filters the object, it returns a Proxy object.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_proxy.htm#:~:text=The%20Proxy%20object%20ensures%20that,browser's%20console%20as%20a%20Proxy%20.
What is the proxy object?
Reviewed by Rajendar Bommidi
on
November 01, 2020
Rating: 5