add-zustand
Installation
SKILL.md
Add Zustand
Lightweight, hook-based state for UI / client state. Pair with TanStack Query for server state.
Install
npm install zustand
Basic store
// state/auth.ts
import { create } from 'zustand';
import { persist, createJSONStorage } from 'zustand/middleware';
import AsyncStorage from '@react-native-async-storage/async-storage';