quantajs v1.0.0-beta.5
QuantaJS
A compact, scalable, and developer-friendly state management library designed for any JavaScript environment. It includes a reactivity system that enables efficient and flexible data handling, making complex state management easy.
š Features
ā
Framework-Agnostic ā Works in any JavaScript environment
ā
Reactive State ā Simple yet powerful reactivity system
ā
Scalable ā Suitable for small to large applications
ā
Side Effects Handling ā Manage async actions with ease
ā
Intuitive API ā Easy to learn and use
š¦ Installation
npm install quantajs
ā” Quick Start
import { createStore } from "quantajs";
const counter = createStore({
state: { count: 0 },
actions: {
increment() {
this.count++;
},
decrement() {
this.count--;
},
},
});
console.log(counter.count); // 0
counter.increment();
console.log(counter.count); // 1
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š¬ Contributing
We welcome contributions! Feel free to open issues, submit PRs, or suggest improvements.
ā Support
If you find this library useful, consider giving it a ā star on GitHub!