Node.js/react

react-redux Flow

kkoon9 2020. 9. 28. 18:05

더 예쁘게 보시려면, www.notion.so/react-redux-Flow-9f2b46e192884bbe8120502f502e0c9a

React랑 React+Redux의 결정적 차이

  • React는 React 컴포넌트 자신이 개별적으로 상태관리를 한다.
  • React+Redux는 상태관리를 하는 전용 장소(store)에서 상태를 관리하고, React 컴포넌트는 그걸 보여주기만 하는 용도로 쓰인다.

 

Redux의 전체적인 플로우

Store

2020/09/27 - [Node.js/react] - Redux - Store

Reducer

Action

 

2020/09/27 - [Node.js/react] - Redux - Reducer, Action

connect

2020/09/28 - [Node.js/react] - Redux - connect



references

아마 이게 제일 이해하기 쉬울걸요? React + Redux 플로우의 이해

applyMiddleware | Redux