Newer Version Available
LockerService in Communities
LockerService is enabled for all Lightning components set to API version 40.0 and later. API version 40.0 corresponds to Summer ’17, when LockerService was enabled for all orgs. LockerService isn’t enabled for components with API version 39.0 and earlier.
You can disable LockerService for a component by setting the component’s API version 39.0 or earlier. However, for consistency and ease of debugging, we recommend that you set the same API version for all components in your app, when possible.
For information about working with LockerService when developing Lightning components, see “What is LockerService?” in the Lightning Component Developer Guide.
For information on preparing your Lightning components code for LockerService enablement, see “Salesforce Lightning CLI (Deprecated).”