Valtio is a lightweight, proxy-based state management library for JavaScript and TypeScript, designed to simplify reactive state handling in both React and vanilla environments. It allows you to manage mutable state through normal JavaScript objects, while providing React hooks (useSnapshot) and subscription utilities to create optimized component re-renders and state observation. It uses ECMAScript Proxies and supports deep state tracking, making state mutation intuitive and powerful without sacrificing performance or compatibility with React's concurrency model.

Features

  • Wraps plain objects into reactive proxies using proxy()
  • Provides useSnapshot() hook for read-only snapshots that trigger component re-render only on accessed property changes
  • Enables global subscriptions via subscribe() or subscribeKey() to monitor specific state changes
  • Utilities like watch(), devtools(), proxySet(), and proxyMap() for advanced state workflows
  • Supports computed properties via JavaScript getters on proxy objects
  • Supports vanilla JavaScript usage outside React with full state-tracking support

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Valtio

Valtio Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Valtio!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2025-07-31