상태관리 라이브러리 비교 #139
Unanswered
JUDONGHYEOK
asked this question in
React
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
상태관리 라이브러리 사용 목적
컨텍스트api
다시 렌더링할지 여부를 정할 때 참조를 확인하기 때문에, Provider의 부모가 렌더링 될 때마다 불필요하게 하위 컴포넌트가 다시 렌더링 되는 문제가 발생할 수도 있다.
Context API는 단순히 종속성 주입의 한 형태일뿐 아무것도 관리하지 않는다. 일반적으로 useState, useReducer를 통해 일어난다.
리덕스
mobx
리코일
zotai
zustand
[React 최신 상태관리 라이브러리 비교하기 (feat. zustand, redux-toolkit, jotai, recoil)](https://kir93.tistory.com/entry/React-%EC%B0%A8%EC%84%B8%EB%8C%80-%EC%83%81%ED%83%9C%EA%B4%80%EB%A6%AC-%EB%9D%BC%EC%9D%B4%EB%B8%8C%EB%9F%AC%EB%A6%AC-Zustandredux-toolkit-vs-JotaiRecoil)
Beta Was this translation helpful? Give feedback.
All reactions