@koreez/observex
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.2 • Public • Published

observex

GitHub license Build Status npm version styled with prettier

Observex plugin!

Key features:

Blazing fast Low memory usage Easy to use API

Getting Started

First you want to get a fresh copy. You can get it from this repo or from npm, ain't that handy. npm

npm install @koreez/observex --save

Usage

import { observable, reaction } from "@koreez/observex";

const user = observable({
    name: "John",
    age: 27
});

reaction(user, ["age"], (newAge, propertyName) => {
    console.log("age update", newAge, propertyName);
});

user.age = 28; // 'age update' 28, 'age'

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @koreez/observex

Weekly Downloads

0

Version

1.0.0-alpha.2

License

MIT

Unpacked Size

5.87 MB

Total Files

32

Last publish

Collaborators

  • arturvardanyan
  • avagyanah
  • gnun
  • saqsun