Pinia-React

Structured

React State

Type-safe Stores with State, Getters, and Actions

Logo
🔄

Automatic Path Tracking

Tracks state paths read during committed renders to filter unrelated Store subscription updates; it does not prevent every React render.

⚡️

React Concurrent Rendering Support

Connects to React concurrent rendering through `useSyncExternalStore`.

🕵️

Developer Friendly

Optional Redux DevTools integration for inspecting opted-in stores and navigating their state history.

🔍

TypeScript Friendly

Infers types for State, Getters, and Actions.

🧩

Plugin System

Support extensions like persistence and logging to easily customize Store behavior.

🛠

Modular Design

Inherits Pinia's modular design, allowing you to organize your state into multiple manageable Stores.