A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components. Which annotation should a developer add to the Apex method to archive this?
A. @RemoteAction(cacheable=true)
B. @AuraEnabled
C. @RemoteAction
D. @AuraEnabled(cacheable=true)
Suggest answer: D
Reference:
No comments:
Please share to make the community better.