What problem does it solve?
This Skill provides comprehensive guidelines and best practices to ensure efficient, maintainable, and performant development of Lightning Web Components (LWC) on the Salesforce Platform.
Core Features & Use Cases
- Component Structure: Standardizes LWC folder and file organization.
- Best Practices: Enforces the use of Lightning components over HTML tags, SLDS compliance, and reactive programming patterns.
- Performance & Accessibility: Offers guidance on conditional rendering, error handling, and accessibility.
- Use Case: A Salesforce developer needs to create a new custom component for a customer-facing portal. They consult this Skill to ensure their component adheres to Salesforce's recommended architecture, uses SLDS for styling, and implements proper data handling and error management.
Quick Start
Follow the LWC development guidelines to create a new component named 'accountDetails' within the 'force-app/main/default/lwc/' directory.