Lightning Component Interview questions for lightning developers/ Admins/ Consultants
1. Can one Lightning Component add another Lightning Component
Yes one component can add another component into its body.
2. Can we disable Locker Service
LockerService is enforced for all Lightning components created after Summer ’17 (API version 40.0). LockerService isn’t enforced for components with API version 39.0 and lower, which covers any component created before Summer ’17. So Locker service can be disabled by setting component api version to 39.0
3. What is the default namespace of Lightning Component
C is default namespace of Lightning component.
4. Can we use SLDS directly in Visualforce page
Yes, SLDS can be added to a visualforce page using
5. Why Use the Lightning Component Framework?
1. Out-of-the-Box Component Set
2. Rich component ecosystem
3. Performance
4. Event-driven architecture
5. Faster Development.
6. Device-aware and cross browser compatibility.
Resources:
Comments