0.15.0 • Published 2 years ago

@vlcn.io/rx-tbl v0.15.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

@vlcn.io/rx-tbl

Simple "table based" reactivity.

I.e., get notified whenever a table has rows inserted/deleted/updated.

Future rx packages will improve this to bring ractivity to the query level. I.e., only react when the specific rows used by a query have changed.

Usage:

import tblrx from "@vlcn.io/rx-tbl";

// db is a handle to the database. Implements `@vlcn.io/xplat-api`
// E.g., `@vlcn.io/crsqlite-wasm` or `@vlcn.io/crsqlite-allinone`.
const rx = tblrx(db);

const disposer = rx.on((modifiedTables: Set<string>) => {
  // do whatever you need to do
});

// when you need to release your subscription
disposer();
0.15.0

2 years ago

0.14.0-next.0

2 years ago

0.15.0-next.2

2 years ago

0.13.0

2 years ago

0.14.0-next.1

2 years ago

0.14.0-next.2

2 years ago

0.14.0-next.3

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.13.0-next.0

2 years ago

0.15.0-next.1

2 years ago

0.15.0-next.0

2 years ago

0.12.0-next.0

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.10.0

2 years ago

0.11.0-next.0

2 years ago

0.9.1

2 years ago

0.9.0-next.0

2 years ago

0.9.0-next.1

2 years ago

0.7.0-next.0

2 years ago

0.8.3-next.0

2 years ago

0.8.2-next.0

2 years ago

0.8.1-next.0

2 years ago

0.8.0-next.0

2 years ago

0.8.2-next.1

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.7.0

2 years ago

0.6.1-next.0

2 years ago

0.6.2-next.2

2 years ago

0.6.2-next.1

2 years ago

0.6.2

2 years ago

0.6.2-next.0

2 years ago

0.6.1

2 years ago

0.6.0

3 years ago

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago