Loading tutorials
@AuraEnabled and cacheable=true do. Here you will see how values move between JavaScript and Apex in both directions.3 min read@AuraEnabled does on a method and how to import an Apex method into a component.2 min read@AuraEnabled does. Here you will learn what cacheable=true promises, what it forbids, and how it changes the way a component behaves.3 min read@AuraEnabled(cacheable=true) method is a read-only Apex method the client can cache.2 min read@AuraEnabled exposes a static method to components. Here you will learn how to call that method from JavaScript at a moment y2 min read@AuraEnabled method with @wire or imperatively.2 min read@AuraEnabled method and call it from a Lightning web component. It also assumes you know Salesforce profiles, permission sets, and sharing rules.2 min read@AuraEnabled method, wire it to a property in a Lightning web component, and call a non-cacheable method imperatively. Here you will learn why a wired result goes stale after a change, and how refreshApex fixes that.2 min read@AuraEnabled methods are called from components, and how AuraHandledException and with sharing work. Here you will test a controller's happy path, its error path, and its security behavior.3 min read@wire and imperative Apex calls from earlier chapters. Here you will learn how to decide whether a component needs an @AuraEnabled method at all.3 min read@AuraEnabled methods, the difference between cacheable and non-cacheable methods, and how errors travel as AuraHandledException. You should also be able to read basic Aura markup and JavaScript.2 min read