You need to sign in to do that
Don't have an account?
Nandhini S 3
What is the difference between LDS record form and LDS wire adaptors?
When do we go,
-Lightning record forms
-LDS wire adaptors
-apex classes
-Lightning record forms
-LDS wire adaptors
-apex classes
While both record forms and wire adaptors are built on top of Lightning Data Service (LDS), it is important to know that record forms are used to add a Salesforce record or update fields in an existing record on an object and doesn't require additional Apex controllers to create or update record data while wire adaptors can invoke apex controllers. Also, record forms take care of field-level security and sharing for you, so users see only the data they have access to
https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form/documentation
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_ui_api
Thanks,
Anudeep
Thanks for your reply.
Can you please clarify the below for me.
Both Lightning-record-forms and lightning/uiRecordApi is used for creating/viewing/editing a record. What excatly is the difference.
I'm very new to lightning, please bare with my questions.