state-ref State Management
Implements proxy-based reactivity and lens pattern guidelines for seamless state management across multiple UI libraries.
The state-ref skill empowers Claude to manage application state using a universal, proxy-based reactivity system. It provides specific guidance on creating stores, tracking dependencies automatically via the watch API, and implementing the lens pattern for precise state updates. Ideal for projects requiring framework-agnostic state logic, it ensures developers follow best practices for React, Vue, Svelte, and Solid integrations while maintaining clean, reactive code through the .value property convention.
주요 기능
01Advanced state derivation using combineWatch and createComputed
02Automatic dependency tracking within subscription callbacks
03Manual synchronization options for Flux-style state management
0454 GitHub stars
05Multi-framework support for React, Vue, Svelte, Solid, and Preact
06Proxy-based reactivity with precise .value property access
사용 사례
01Building scalable UI components with deeply nested state objects
02Implementing reactive data fetching and derived state logic
03Managing complex shared state across different frontend frameworks