nanostores
Installation
SKILL.md
Nanostores
Tiny state manager (265-797 bytes) for React, Vue, Svelte, Solid, Angular, and vanilla JS with atomic stores.
Quick Start
Install:
npm install nanostores
# Framework integrations
npm install @nanostores/react # React/Preact
npm install @nanostores/vue # Vue 3
npm install @nanostores/solid # Solid
Create stores:
// stores/counter.ts
import { atom } from 'nanostores';