Posts

Showing posts with the label forcerefresh

Synchronize Component Data Without a Page Refresh Using RefreshView API (Beta)

Image
  Whether user-driven or app-invoked, the ability to synchronize data without reloading an entire page is a key user experience requirement. The new  lightning/refresh  module and RefreshView API provide a standard way to refresh component data in LWC and Aura. Previously, LWC lacked a data refresh API, and Aura only supported the legacy  force:refreshView , which doesn’t meet the requirements of modern web development. RefreshView API’s detailed control of refresh scope lets developers create refined user experiences while maintaining backward compatibility. Where:  This change applies to Lightning Experience in Enterprise, Unlimited, and Developer editions. NOTE This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at  Agreements and Terms . How:  RefreshView API updates the data for a specific hierarchy of components, kno...