Dana Kimdanakim.hashnode.dev·Aug 28, 2023[React] Redux 대신 Zustand!Redux와 기능은 같지만, 표현법이 쉬워짐. 세팅 문법 필요 없음. 설치 npm install zustand 컴포넌트들 간에 변수를 공유하고 싶을 때 import create from 'zustand' import { devtools } from "zustand/middleware"; //state 보관함 -> 보통 변수에 담아서 사용(useStore) const useStore = create(()=> { count : 0, ...27 readsReactzustandAdd a thoughtful commentNo comments yetBe the first to start the conversation.