@dalisoft/reactobservable
Simple, yet powerful properties container that makes property work with React easier and fun!
Last updated 2 years ago by dalisoft .
ISC · Original npm · Tarball · package.json
$ cnpm install @dalisoft/reactobservable 
SYNC missed versions from official npm registry.

ReactObservable

Simple, yet powerful properties container that makes property work with React easier and fun!

Installation

yarn add @dalisoft/reactobservable
# or
npm install @dalisoft/reactobservable --save

Import

import ReactObservable from '@dalisoft/reactobservable';
// or
const ReactObservable = require('@dalisoft/reactobservable');
// or
window.ReactObservable

Usage

const App = (props) => (
    <h1 onClick={() => props.name = 'Change'}>{props.name}</h1>
)

ReactDOM.render(<ReactObservable><App name='Initial' /></ReactObservable>)

License

ISC

Current Tags

  • 0.0.4                                ...           latest (2 years ago)

4 Versions

  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 6
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |