To reload data for standard components, you might have used $A.get('e.force:refreshView').fire();
in Lightning Aura components. Unfortunately there’s no direct 1-1 replacement for this Aura feature in LWC, at least at this point of time.
But you can still fire this event from LWC like below:
eval("$A.get('e.force:refreshView').fire();");
0 comments:
Post a Comment