Performance Problems

Symptom

Component loads slowly or causes performance issues on the Lightning page.

Common Causes and Solutions

1. Too Much Data Loaded

Check: Component may be retrieving thousands of records unnecessarily.

Solution:

  • Implement pagination in component configuration

  • Add record limits to reduce data volume

  • Use more specific filters in data source settings

  • Consider loading data on user interaction rather than on page load

2. Multiple Components on Same Page

Check: Too many App Builder Components on a single Lightning page can impact performance.

Solution:

  • Limit number of components per page (recommend 3-5 maximum)

  • Use tabs or collapsible sections to organize content

  • Consider breaking into multiple Lightning pages

  • Remove unused or redundant components

3. Complex Data Relationships

Check: Components displaying related list data or complex object relationships.

Solution:

  • Simplify relationship queries

  • Reduce number of related fields displayed

  • Use summary fields instead of detailed lists

  • Consider using Lightning related lists for complex relationships

4. Large Record Result Sets

Check: Component configured to display too many records at once.

Solution:

  • Reduce default number of visible records

  • Enable pagination or "load more" functionality

  • Add filters to narrow down displayed records

  • Set appropriate default filter criteria

Note: App Builder Components are designed for lightweight, focused use cases on Lightning pages. For complex, data-intensive applications requiring advanced performance optimization, consider using Dynamic Components, which offer more granular control over data loading, caching, and rendering optimization

Last updated

Was this helpful?