What is the purpose of the lightning-record-edit-form component in LWC?
-
A
To display a read-only summary of a record's fields
-
B
To provide a form that creates or edits a record using Lightning Data Service
-
C
To render a Visualforce page inside an LWC
-
D
To show related list records for a parent record