Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/fdecampredon/rx-react
Browse files Browse the repository at this point in the history
  • Loading branch information
fdecampredon committed Nov 9, 2015
2 parents 6e9f335 + c1f355b commit 2600261
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/stateStreamMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function isObservable(obj) {
}

/**
* A Mixin for explicitly boudn the state of a component to an RxJS Observable,
* subscrition will be disposed on unmount.
* A Mixin for explicitly bound the state of a component to an RxJS Observable,
* subscription will be disposed on unmount.
*
* var Timer = React.createClass({
* mixins: [StateStreamMixin],
Expand All @@ -36,7 +36,7 @@ function isObservable(obj) {
* };
* });
* },
* render: function(props, state) {
* render: function() {
* var secondsElapsed = this.state? this.state.secondsElapsed : 0;
* return (
* <div>Seconds Elapsed: {secondsElapsed}</div>
Expand Down

0 comments on commit 2600261

Please sign in to comment.