function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
megha mittalmegha mittal 

LWC: Lightning web component stays in background with old data even after URL change

I have a lightning web component which adds a new record in the system. And on quit I go the list view. Now since I am in the same tab, when I click on new again I can access the data values I added for the previous record. I would like to know if there is anything I can fire to make the component refresh.