React Router

라우터 사용법

React Router is a third-party library that allow components to be used as routed endpoints on an application. This library comes in three packages:

npm install react-router-dom

<Link to="/signup">회원가입</Link>

withRouterHOC로 구현하는 방법

this.props.history.push('/signup')

Resource