Lesson 2: Composition, Events, Forms, Lightning Data Service, and Navigation
Lesson Overview
This lesson develops practical skills in composition, events, forms, lightning data service, and navigation for Salesforce Lightning Web Components (DEX602).
Topics Covered
Parent-child composition, public properties, methods, query selectors, and DOM interaction
Custom events, bubbling, composed behavior, message service, and cross-component communication
Base Lightning components, forms, inputs, validation, accessibility, and user feedback
Lightning Data Service, wire adapters, UI API, record forms, and cache behavior
Navigation service, page references, record actions, workspace, and utility concepts
Error handling, toast, spinners, empty states, and UX testing
Practical Activity
Configure or analyze a scenario involving parent-child composition, public properties, methods, query selectors, and dom interaction.
Build and validate an exercise covering custom events, bubbling, composed behavior, message service, and cross-component communication and base lightning components, forms, inputs, validation, accessibility, and user feedback.
Use tests, logs, reports, or documentation to verify error handling, toast, spinners, empty states, and ux testing.
Key Takeaways
Explain parent-child composition, public properties, methods, query selectors, and dom interaction in the context of Salesforce Lightning Web Components (DEX602).
Apply practical methods for custom events, bubbling, composed behavior, message service, and cross-component communication and base lightning components, forms, inputs, validation, accessibility, and user feedback.
Test, document, and troubleshoot error handling, toast, spinners, empty states, and ux testing.