Keep the following in mind when developing features that use RefreshView API.
- Use RefreshView API when you work with Aura components or data from third parties. In those cases, components participating in RefreshView API can use notifyRecordUpdateAvailable(recordIds) and/or refreshApex to refresh data that they receive from Lightning Data Service.
- Register the
lightning/refreshonly for the components that you want to participate in the refresh.
- Components aren’t responsible for refreshing their descendants — descendants must register their own callbacks to participate in refresh outside of normal value propagation.
- To allow for scoped refresh trees, containers register similarly to components that want to refresh themselves.