npm

Need private packages and team management tools?Check out npm Orgs. »

@dalisoft/reactobservable

0.0.4 • Public • Published

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

install

npm i @dalisoft/reactobservable

Downloadsweekly downloads

4

version

0.0.4

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability