We have implemented a LWC that gets attached to Contacts and Leads. This LWC just calls an Apex that gets information from an external system and shows some information. We have noticed that after saving an update on the Lead or Contact, the new component does not get refreshed.
We have looked into it being a configuration issue, but after some searching, the closest solution we have found can be seen here
and it requires adding an Aura Component layer on top of the LWC to be able to call a refreshView event. Though this technically is a solution, it just seems inapropiate to have to use an older version of the same technology as an upper layer to achieve the desired behaviour.
One of the comments mentions that the standard Salesforce Components are made with LWC and they do respond to refreshView, so it seems like it's something that a custom LWC should be able to do, is there any chance this could be formerly implemented to allow access to the refreshView event on custom LWC?