Loading tutorials
@wire. Later chapters build on it to show how cached data goes stale and how refreshApex fixes that.2 min read@AuraEnabled methods and basic SOQL, and use promises with async/await. Here you learn why a wired component can keep showing old data after the records have changed. The next chapters fix it with refreshApex.3 min read@wire calling a cacheable Apex method, and that you are comfortable with destructuring and async/await. Before you can refresh a wire, you need to know exactly what the wire hands you. refreshApex works on that object, not on your data.2 min read@AuraEnabled methods, SOQL, and async/await. The earlier chapters in this tutorial cover why cached wire data can go stale and what the wired result object contai2 min readdata and error) looks like. Here you will learn how to refresh a wire that is bound to a function.2 min read@AuraEnabled methods with SOQL, wire an Apex method in a component, and use async/await.3 min readrefreshApex. It assumes you can wire a cacheable Apex method, read the wired result object, and use async/await. Earlier chapters covered why cached data goes stale and what to pass to refreshApex.2 min readasync/await. You have already seen the save-then-refresh pattern. Here we look at what can go wrong in each step and how to show the user a useful message.2 min read@AuraEnabled methods work, and how async/await behaves. It also assumes you have seen refreshApex used with a property wire and a function wire.2 min read@AuraEnabled method, and use async/await. It covers the reasons refreshApex can seem to do nothing, and how to find each one.2 min readrefreshApex after a save. It covers the cases where refreshApex is the wrong tool and what to use in its place.2 min read@salesforce/sfdx-lwc-jest. It also assumes you have read the earlier chapters on saving a change and then refreshing. The goal is to test your own logic. That means checking that the component calls refreshApex with the right object, at 2 min read