Fine-Grained Reactivity

Statestore.js is a state management library designed for simplicity and flexibility. It empowers you to build dynamic applications with reactive updates and selective reactivity.

Get started

It's no magic. It's statestore.js

It's simple and straight forward to use.
Easy communication between different parts of the application.
Avoid prop drilling. All you need is a store's name and data is accessible anywhere you want.
Works in all JavaScript programs.
Selectively react to changes. You are able to specify what changes in data should trigger who.
Written in TypeScript

Centralized States

While components maintain private state to prevent unintended modification, a centralized store provides access and serve as the single source of truth for all parts of the application. This reduces the need to pass data through props or arguments, simplifying data flow.

Selective Reactivity

Update what matters only. Avoid unwanted re-executions. In the context of React environment, optimize performance by avoiding unnecessary re-renders. Define fine-grained dependencies, to ensure components react only to specific state changes.

Universally Compatible

Seamlessly integrates with any JavaScript application to centralize and manage state. It's simple and easy to use in any JavaScript environment.

Documentation

Community

Useful links