valtio

Minimal proxy-based state management for React and vanilla JavaScript with fine-grained reactivity. Core API includes proxy() for creating reactive state objects, useSnapshot() for render-optimized React hooks, and subscribe() for listening to changes anywhere in your app Utilities cover observable Map and Set proxies, property-level subscriptions, Redux DevTools integration, and unproxied references for special objects Supports React 18+, Suspense, and computed properties via getters and setters Best practices guide covers organizing actions, persisting state to storage, and composing multiple state objects

INSTALLATION
npx skills add https://github.com/hairyf/skills --skill valtio
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

Topic

Description

Reference

proxyMap

Observable Map-like proxy for Map data structures

utils-proxy-map

proxySet

Observable Set-like proxy for Set data structures

utils-proxy-set

subscribeKey

Subscribe to changes of a specific property

utils-subscribe-key

DevTools

Redux DevTools Extension integration

utils-devtools

Ref

Create unproxied references for special objects

utils-ref

Guides

Topic

Description

Reference

Component State

Isolate component state using useRef

guides-component-state

Computed Properties

Create computed properties with getters and setters

guides-computed-properties

Async

Work with promises and React Suspense

guides-async

Best Practices

Topic

Description

Reference

Actions

Organize actions for mutating state

best-practices-actions

Persistence

Persist state to localStorage or other storage

best-practices-persistence

State Composition

Split and compose states for organization

best-practices-state-composition

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card