Implementing Legend State

Implement Legend-State (v3), the signal-based @legendapp/state library, as the primary state layer in a React or React Native app. Use when a task names Legend-State or @legendapp/state; when adding, refactoring, or designing state management in a project that uses (or is moving to) Legend-State; when migrating from Zustand, Redux, Jotai, Recoil, or plain TanStack Query; or when reviewing or fixing existing Legend-State code. Covers observables, useValue, global stores, computed/derived state, fine-grained reactivity (For/Show/Switch/Memo), local persistence (MMKV, AsyncStorage, localStorage, IndexedDB, expo-sqlite), and remote sync (synced, syncedCrud, Supabase, TanStack Query, fetch, Keel).

AlshehriAli0 f32f638 14 files · 64.5 KB Updated

File contents

AlshehriAli0/agent-skills/tree/main/skills/implementing-legend-state commit f32f6387fd

Frequently asked questions

npx skillmds@latest add alshehriali0/implementing-legend-state