Zustand persist는 언제 상태를 읽어야 할까2026.07.24Zustand persist는 언제 상태를 읽어야 할까ReactNext.js#zustand#상태관리+1 more categories or tags2026.07.24Zustand persist는 언제 상태를 읽어야 할까ReactNext.js#zustand#상태관리+1 more categories or tags장바구니와 위시리스트는 새로고침해도 남아 있어야 한다. 너무 당연한 요구라서 처음에는 Zustand의 persist를 붙이면 끝이라고 생각했다. 상태를 localStorage에 넣고, 다음에 페이지를 열면 다시 읽는다. 이름부터 persist니까 그 정도는 해주겠지 싶었다. 그런데 Ne…