8000 GitHub - quanta-js/quanta: 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.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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.

License

Notifications You must be signed in to change notification settings

quanta-js/quanta

Repository files navigation

QuantaJS

Logo

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!

About

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.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0