LWCArchitect (Hardest)performancebudgetrecord-page
Design LWC performance budget for record pages
Real World Scenario
Record page hosts 12 LWCs; Lighthouse performance score unacceptable on mobile.
Expected Answer
• Max 3-4 custom LWCs above fold on mobile record page
• Lazy render below-fold components on scroll intersection
• Consolidate micro-components into single cohesive LWC reducing wire count
• Shared data service LWC provider pattern avoiding duplicate Apex
• Performance budget: TTI 3s mobile p95 documented
• Regular flexipage audits removing unused components
• Standard components preferred over custom where equivalent
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Direct answer: Max 3-4 custom LWCs above fold on mobile record page Also consider: Lazy render below-fold components on scroll intersection In practice: Consolidate micro-components into single cohesive LWC reducing wire count Document the decision in an ADR and align with enterprise standards.
Architect Perspective
Record page real estate is finite—architects gate new LWC placements with performance review.