참고코드: GitHub - seungahhong/states-todos
설치
npm install zustand
or
yarn add zustand
zustand 개념
zustand 특징
- Fetching everything
- Selecting multiple state slices
- Memoizing selectors
- Using subscribe with selector
- Async actions
- Read from state in actions
- Immer middleware vs npm Immer
- Redux devtools
zustand 그외 특징