function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ritidipa MahantaRitidipa Mahanta 

Locker Service - any recommended approach to resolve existing component issues ?

Hi All,

Need some advice re Locker Service.  As locker service will be auto enabled in Summer ’17 release, has anyone activated the LockerService critical update and test in sandbox to verify the correct behaviour of the components? If so, would be great to know what kind of issues faces and any recommended approach, best practice to resolve those? . 

Thanks in advance. 
Regards
-Riti
Akhil AnilAkhil Anil
Hi Riti,

Each case will will be one of it's own kind, so it would be difficult to propose a generic solution for this. However, the thumb rule when enabling the locker service is that you will access to DOM components only that you own. So keep that in mind when you have to revamp your existing components. The below link will throw more light into this

https://developer.salesforce.com/blogs/developer-relations/2016/04/introducing-lockerservice-lightning-components.html