refreshing react page will lose the entire state code example
Example: how to cause a whole page reload react redux
window.location.reload();
//default = false
window.location.reload(false);
//soft refresh
window.location.reload(true);
//hard refresh