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 the developer add to the Apex method to achieve this?
A.
@AuraEnabled
B.
@RemoteAction
C.
@RemoteAction(cacheable=true)
D.
@AuraEnable
Answer:
D
User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
0/ 1000
Bhawna
1 year, 4 months ago
It should be A. @AuraEnabled
Want to join our community?
Please log in or signup in order to use this feature
It should be A. @AuraEnabled