path1 react-router path 가져오기 browerHistory를 활용하여 현재주소 가져오기 path 뒤에 #,? 정보도 가져옴 import { browserHistory } from 'react-router'; ... componentDidMount() { const location = browserHistory.getCurrentLocation(); console.log(location.hash); } 2020. 2. 29. 이전 1 다음