lwc-patterns - LWC Design Patterns Guide
Lightning Web Components patterns for state management, component communication, and architecture
Tags
Updated: 2026-05-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- pass props to child
- handle child events
- publish events
- subscribe to events
- wire data
- fetch imperative data
- manage reactive state
- compose with slots
- handle errors
Inputs
- parent component
- child component
- event payload
- Apex controller
- message channel
Outputs
- dispatched events
- rendered UI
- state updates
- toast messages
Requirements
- Lightning Web Components
- JavaScript
- HTML
- CSS
