0.1.2 • Published 6 years ago

react-xcontrol v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

react-xcontrol

Subscribe a react component to a controlx controller

API

  • Connect( Component ) Returns a xcontrol.Controller that updates the component whenever the store updates.

  • Computed( Component )( controllers, mapState ) Returns a React.Component that renders the wrapped component with the result of mapState on the combined state of the controllers. When any of their stores updates, the component also updates with the new mapped state.

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago