Difference b/w lightning:recordEditform, force:recordData and lightning:recordForm, When to use which

Overview:

There are multiple ways to create forms to add, update and delete records in lightning like

  • force:recordData(Lightning Data services),
  • lightning:recordEditForm and
  • lightning:recordForm.

The functionality of these components is basically the same i.e. to create a layout form to create or update a record. In addition, which component to use in a particular situation depends upon the scenario and the preference of the developer.

 

Below are some of the differences:

Difference between lightning:recordEditform, force:recordData and lightning:recordForm

 

Refer to links to know more about force:recordDatalightning:recordEditForm and lightning:recordForm .

Write a Response

Your email address will not be published.


Find Out How We Can Help

If you're ready to find out more about how SimplusLabs can help energize your workers, your customers, and your business with a different experience, let's talk.