when i refresh page redux data will be lost 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