datas, paths, isRoot, isLoading
- 스토어 사용 & 리덕스 따라하기
setState
,getState
,subscribe
,unsubscribe
,notify
, 정합성체크
setState(key, newState)
⇒ 1. 정합성체크 2. this.state=newState 3.notify
subscribe(key, listener)
⇒ this.listeners.push(listener)
- App에서 state를 모두 갖고 있고, 컴포넌트는 state 대신 props를 이용
- 각 state의 변경사항이 있을 때만 각 render 호출
—