React
Container Presenter Pattern
nathaneast
2019. 11. 24. 10:45
Container
date , state가지고 , api 불러옴
//모든 로직을 처리
//데이터
Presenter
데이터들을 보여주는 역할
//스타일
Index
Container를 import
Route path에서 :가 의미하는건 id이다
//뭐든 와도 됨
//path="/show/:id"
//path="/show/:potato"