Scenario: In the lightning Layout details page will be standard page and besides, we have custom components. when the status is changed in standard layout then component should be refreshed.
used the below code in the Lightning component.
<aura:dependency resource="markup://force:editRecord" type="EVENT" />
<aura:handler event="force:refreshView" action="{!c.doInit}" />