I have a scenario where two components an Aura and a LWC were included via Object Record Type. They are placed according to the image below.
I'm facing a problem. All the interactions done in LWC gets the related data in Aura updated. But, when some data in aura are updated, the related data in LWC are not update. That is, LWC does not know it. It is not refreshed. It is done only when I refresh the entire page so that an @wire function (methodController) is called. See below.
import methodController from '@salesforce/apex/Controller.methodController';
@wire(methodController, {
recordId: '$recordId'
})
handle({error, data})
{
// business logic
}
methodController is called only once, when the page is loaded.
How to make it to be called all the time that some actions in Aura are done?