why does my compoent lose state on refresh reactjs 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