開発者は、Salesforce からデータを取得してレコードプロパティに割り当てる Lightning Web コンポーネントを構築しています。

Salesforce からデータを取得するにはコンポーネントで何を行う必要がありますか?
正解:A
Option A is the correct answer. The @wire decorator is used in conjunction with getRecord from lightning/uiRecordApi to retrieve a record from Salesforce. The syntax @wire(getRecord, { recordId: '
$recordId', fields: '$fields' }) sets up a reactive property, which means it will automatically rerun whenever the recordId or fields property changes.
References:
Get Record Data