본문 바로가기
Frontend#Frontend#State조회 1

Zustand란?

정의

미니멀 React 상태 관리 라이브러리. Redux의 복잡함 없이 훅 하나로.

다른 표현주스탄드

Zustand란?

const useStore = create((set) => ({
  count: 0,
  inc: () => set((s) => ({count: s.count+1}))
}));
const count = useStore((s) => s.count);

장점

  • Provider 래퍼 불필요
  • Redux 대비 코드 1/5
  • TypeScript 친화

📘 관련 기술노트

전체 보기 →

🔗 함께 보면 좋은 용어

Frontend 전체 →