Related Libraries
Valtio's core is minimal, but its functionality can be extended with a rich ecosystem of third-party libraries created by the community.
Disclaimer: These are community-maintained libraries and are not officially endorsed by the Valtio team. Please review them to ensure they meet your project's needs.
State Management & Utilities
- valtio-persist: Flexible and performant state persistence.
- valtio-history: Utilities for undo/redo functionality.
- derive-valtio: Create derived state from other proxies.
- valtio-zod: Validate your Valtio state updates with Zod.
- valtio-factory: A factory pattern for creating Valtio state.
- valtio-fsm: A finite state machine library powered by Valtio.
React Integration & Hooks
- use-valtio: An alternative custom hook for using Valtio state, especially useful for Suspense with
useTransition
. - valtio-signal: Another React binding for Valtio, inspired by Signals.
Developer Tools & Plugins
- eslint-plugin-valtio: An ESLint plugin to help enforce best practices.
- swc-plugin-valtio: An SWC plugin for
useProxy
transformation. - storybook-valtio-auto-bind: Automatically sync Storybook args with your Valtio store.
- valtio-plugin: A lifecycle plugin system to customize Valtio's behavior.
Framework & Platform Integrations
- sveltio: A proxy-based state management solution for Svelte, powered by Valtio.
- valtio-element: Create reactive custom elements with Valtio.
- electron-valtio: Share Valtio state between Electron's main and renderer processes.
- tauri-plugin-valtio: Persistent Valtio state for Tauri apps, accessible from both JavaScript and Rust.
Collaboration
- valtio-yjs: A library for collaborative state management using Valtio and Y.js.