- HMR(Hot Module Replacement) 설정
- 라우터 적용(react-router-dom)
- 서비스 흐름도 작성
- 스켈레톤 코드 작성
JSX에서 주석 작성 - {/* Comments */}
https://ko.reactjs.org/docs/faq-build.html
https://ko.reactjs.org/docs/faq-build.html
Router를 통한 화면 분할 및 경로 설정
https://ko.reactjs.org/docs/faq-build.html
https://jeonghwan-kim.github.io/dev/2019/07/08/react-router-ts.html
https://reactrouter.com/web/guides/quick-start
https://ko.reactjs.org/docs/faq-build.html
https://jeonghwan-kim.github.io/dev/2019/07/08/react-router-ts.html
https://reactrouter.com/web/guides/quick-start
Javascript에서 Pattern Matching을 통한 변수 할당 (ex: let { user } = useParams();)
https://stackoverflow.com/a/15292157/6198924
** Class-based로 Component를 상속하는 객체를 만들 때는, useParams를 쓸 수 없음.
** 이때에는 <Route path="~" component={ClassName}/> 과 같이 component 옵션으로 넘기면
** withRouter 사용 등 없이 props.match.params에 파라미터 값 넘어옴!
https://stackoverflow.com/a/15292157/6198924
** Class-based로 Component를 상속하는 객체를 만들 때는, useParams를 쓸 수 없음.
** 이때에는 <Route path="~" component={ClassName}/> 과 같이 component 옵션으로 넘기면
** withRouter 사용 등 없이 props.match.params에 파라미터 값 넘어옴!
예상 흐름도