← All questions
LWCHard
Wire adapter with an undefined parameter
This component sometimes renders with recordId still undefined. What does the getRecord wire do in that case?
@api recordId;
@wire(getRecord, { recordId: '$recordId', fields: FIELDS })
record;