The@AuraEnabled(cacheable=true)annotation makes an Apex method available to Lightning Web Components and allows it to be wired to a property while enabling client-side caching for improved performance.
[Reference:Apex Methods for Lightning Web Components, Incorrect Options:, B, C:@RemoteActionis not used for Lightning Web Components., D:@AuraEnabledwithoutcacheable=truecannot be wired., , ]
Submit