Lightning/uiRecordApi
This module has wire adapters to record data and to get default values for creating records. It also has JavaScript APIs to create, update, delete, and refresh records.
We’re going to create a LWC that adds a delete button to an account record page.
In VSCode, we create another LWC called deleteAccount
. Below are each
file in the component.