# delta-watch-react

> React bindings for delta-watch library.

Latest version **0.1.1** (published 2018-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install delta-watch-react
pnpm add delta-watch-react
yarn add delta-watch-react
bun add delta-watch-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-10-14 |
| First published | 2018-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 25.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chad Collins |
| Maintainers | chadrc |
| Keywords | delta, watch, react, watcher |

## Links

- npm: https://www.npmjs.com/package/delta-watch-react
- Repository: https://github.com/chadrc/delta-watch
- Homepage: https://github.com/chadrc/delta-watch#readme
- Issues: https://github.com/chadrc/delta-watch/issues
- npm.io page: https://npm.io/package/delta-watch-react

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.5.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.5.2
- [delta-watch](https://npm.io/package/delta-watch.md) 0.1.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2018-10-14
- 0.1.0 — 2018-10-14
- 0.0.5 — 2018-10-14
- 0.0.4 — 2018-05-10
- 0.0.3 — 2018-05-10
- 0.0.2 — 2018-04-28
- 0.0.1 — 2018-04-28

## README

# Delta Watch
Object watching utility for JavaScript

## Example
```typescript
import DeltaWatch from "delta-watch";

// Create watchable object with inital values
let watchable = DeltaWatch.Watchable({
    value: "Initial"
});

DeltaWatch.Watch(watchable.Watcher.value, (value: string) => {
    console.log("new value", value);
});

watchable.Mutator.value = "Changed"; // cb gets call with "Changed"

// May also access current value
console.log(watchable.Accessor);
// logs "Changed"
```

Starting the example app
```bash
cd packages/examples
npm install

npm run build
npm start

```

---
_Source: https://npm.io/package/delta-watch-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
