# core.plugin.bindings

> component bindings for core.tree

Latest version **1.0.4** (published 2019-05-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install core.plugin.bindings
pnpm add core.plugin.bindings
yarn add core.plugin.bindings
bun add core.plugin.bindings
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-05-18 |
| First published | 2017-12-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ido-ofir |
| Maintainers | ido.ofir |

## Links

- npm: https://www.npmjs.com/package/core.plugin.bindings
- npm.io page: https://npm.io/package/core.plugin.bindings

## Recent versions

- 1.0.4 (latest) — 2019-05-18
- 1.0.3 — 2019-05-17
- 1.0.2 — 2019-04-21
- 1.0.1 — 2018-06-24
- 1.0.0 — 2018-02-17
- 0.0.1 — 2017-12-08

## README

# core.plugin.bindings

component bindings for `core.tree`.




plugin depends on:
<div>
  <a href="https://github.com/ido-ofir/core.import.baobab">core.import.baobab</a>
</div>
<div>
  <a href="https://github.com/ido-ofir/core.import.create-react-class">core.import.create-react-class</a>
</div>
<div>
  <a href="https://github.com/ido-ofir/core.import.prop-types">core.import.prop-types</a>
</div>
<div>
  <a href="https://github.com/ido-ofir/core.import.react">core.import.react</a>
</div>
<div>
  <a href="https://github.com/ido-ofir/core.plugin.tree">core.plugin.tree</a>
</div>

### installing

```sh
npm i core.plugin.bindings
```

### loading
```js
let Core = require('core.constructor');

let core = new Core();

core.plugin([
  require('core.import.create-react-class'),
  require('core.import.prop-types'),
  require('core.import.react'),
  require('core.plugin.tree'),
  require('core.plugin.bindings')
]);
```


### usage
```jsx
{
    // in some component
    render(){
        return (
            <div>
                { 
                    core.bind(['count'], (count, changeCount) => 
                      <div>      { /* this renders anytime 'count' changes */ }
                          { count }
                          <button onClick={ e => changeCount(count + 1) }>Change</button>
                      </div>
                    )
                }
                
            </div>
        );
    }
}
```

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