New video by Salesforce Bolt on YouTube

Refresh GraphQL Query Result in Lightning Web Components Salesforce ☁️⚡️
In this video I will show you how you can refresh the GraphQL query results in your Lightning Web Components. The GraphQL wire adapter automatically caches your query results to improve the loading performance of subsequent queries. You can trigger a refetch of the query results and update the cache by calling the refreshGraphQL(result) function. When calling refreshGraphQL, you must pass the exact object that was previously passed to your wire function or variable. The wire function or variable must preserve the original value from the wire adapter and can’t use a destructuring parameter assignment. #GraphQL #lwc #salesforce Join me on Instagram : https://www.instagram.com/iamkapilbatra/ My journey : https://ift.tt/wX9rZiy Blog / Code Snippet : https://ift.tt/lHzYqIO Website : https://www.salesforcebolt.com​​ LinkedIn : https://ift.tt/wIpWhaj Twitter : https://twitter.com/SalesforceBolt​​ Facebook : https://ift.tt/m7ICK1h


View on YouTube



View on YouTube