Newer Version Available
Disabling Lightning Locker for a Component
You can disable Lightning Locker for a component by setting API version 39.0 or lower for
the component. If a component is set to at least API version 40.0, Lightning Locker is enabled. API
version 40.0 corresponds to Summer ’17, when Lightning Locker was enabled for all orgs.
Lightning Locker is disabled for any component created before Summer ’17 because these components have an API version less than 40.0.
Component versioning enables you to associate a component with an API version. When you create a component, the default version is the latest API version. In Developer Console, click Bundle Version Settings in the right panel to set the component version.
For consistency and ease of debugging, we recommend that you set the same API version for all components in your app, when possible.