You need to sign in to do that
Don't have an account?
scott_dev
@wire callback function doesn't execute on refreshApex()
Hello, this question is related to LWC development. I have recently discovered (through many hours of frustration and troubleshooting) that when using an @wire for an apex method that the callback function is not executed if:
Is this by design, or is this a bug? The documentation does not mention anything about the data needing to change for the callback function to execute when using refreshApex(): https://developer.salesforce.com/docs/component-library/documentation/en/48.0/lwc/lwc.apex
- the @wire is triggered by a refreshApex() call
- the serverside data has not changed
Is this by design, or is this a bug? The documentation does not mention anything about the data needing to change for the callback function to execute when using refreshApex(): https://developer.salesforce.com/docs/component-library/documentation/en/48.0/lwc/lwc.apex
Did you find a way to overcome this issue?