Salesforce
PDII · Question #280
Refer to the markup below: A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The custom fields are correctly declared and populated…
The correct answer is D. Replace layouts-type="Full" with fields={fields}. See the full explanation below for the reasoning.
Question
Refer to the markup below:
A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The custom fields are correctly declared and populated. However, the developer receives complaints that the component performs slowly. What can the developer do to improve the performance?
Exhibit
Options
- AAdd density="compact" to the component.
- BReplace layout-type="Full" with layout-type="Partial".
- CAdd cache="true" to the component.
- DReplace layouts-type="Full" with fields={fields}.
How the community answered
(51 responses)- A6% (3)
- B8% (4)
- C16% (8)
- D71% (36)
Community Discussion
No community discussion yet for this question.
