@ibahmani007/stately
Version:
Minimal, powerful global state manager for React
22 lines (14 loc) • 504 B
Markdown
# Stately
**Minimal global state manager for React — with no Provider, full TypeScript support, and zero boilerplate.**
## 🚀 Features
- ✅ Global singleton state (no Provider required)
- ✅ React hook API: `const [state, setState] = useStore()`
- ✅ TypeScript-safe out of the box
- ✅ DevTools console hook
- ✅ `localStorage` persistence
- ✅ Optional middlewares (for logging, analytics, etc.)
## 📦 Installation
```bash
npm install react-stately-lite