以下のマークアップを参照してください。 Lightning Web コンポーネントには、取引先名と 2 つのカスタム項目が表示されます。 荒地に存在する275。カスタム フィールドが正しく宣言され、値が設定されています。ただし、開発者は、コンポーネントの動作が遅いという苦情を受けています。 開発者はパフォーマンスを向上させるために何ができるでしょうか?
正解:B
To improve performance, the developer should specify only the fields needed by using the fields attribute in the lightning-record-form instead of loading all fields with layout-type="Full". This reduces the amount of data being retrieved and processed, thus improving the component's performance.References: Lightning Web Components Developer Guide - lightning-record-form