본문 바로가기
Frontend

Redux Life Cycle

by yongmin.Lee 2020. 10. 24.

 

 

1. event 발생 -> action creator 호출

2. action creator는 action(object) 생성

3. 생성된 action은 모든 middleware를 거쳐 모든 reducer들에게 전달

4. reducer는 action type에 따른 state반환

5. state는 app의 state에 덮어쓰이고 모든 container들에게 전달

6. 컴포넌트 리렌더링 



'Frontend' 카테고리의 다른 글

1. basic react  (0) 2020.10.24
0. React intro  (0) 2020.10.24
Redux in React  (0) 2020.10.24
Redux  (0) 2020.10.24
middleware  (0) 2020.10.24