리액트 페이지 새로고침 1.location.reload(); 혹은 window.location.reload(); 2.window.location.replace("/") 3.useHistory.push(); 3의 경우 새로고침 시 state가 초기화되는 경우가 존재 1을 사용해서 해결함 React 2022.06.10