If you wish for some reason to refresh the current page one time, you can do something like:
import wixLocation from 'wix-location';
const urlQuery = wixLocation.query;
const alreadyRefreshed = urlQuery?.refreshed;
if(!alreadyRefreshed){
wixLocation.to(wixLocation.url + "?refreshed=true");
}