IT/React
MVC, Redux, Context API
루벤초이
2022. 7. 18. 22:35
Q1. FLUX or REDUX cause a single point of failure?
Q2. What is the difference between MVC and MVVP
MVC using Context API?
References
Hacker Way: Rethinking Web App Development at Facebook
09:00 MVC doesn't scale, increase predictability
10:50 MVC is not suitable for new feature, can't find infinite loops
11:50 FLUX is single direction
[React] 리덕스 (Redux) 이해하기
MVC vs Flux vs Redux – The Real Differences
How React and Redux brought back MVC and everyone loved it
Some argued that MVC was not good because of its bidirectional data flow. But, as you can see in the diagram, the flow is only one way.
In the React/Redux world, the Reducer (Controller) has more responsibility, handling the Store (Model) directly, but the data flow remains the same.
React Redux vs Context API
오직 전역 상태 관리를 위한다면 Context API를 사용하라.
상태 관리 외에 여러 기능이 필요하다면 Redux 를 사용하라.
high-frequency한 어플리케이션의 경우 Context API를 사용하면 성능상 이슈가 있을 수 있다.
MVC, MVP, MVVM 이란?
Level up your React architecture with MVVM
Introducing React Design Patterns: Flux, Redux, and Context API
728x90
반응형