We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e9f335 + c1f355b commit 2600261Copy full SHA for 2600261
lib/stateStreamMixin.js
@@ -24,8 +24,8 @@ function isObservable(obj) {
24
}
25
26
/**
27
- * A Mixin for explicitly boudn the state of a component to an RxJS Observable,
28
- * 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.
29
*
30
* var Timer = React.createClass({
31
* mixins: [StateStreamMixin],
@@ -36,7 +36,7 @@ function isObservable(obj) {
36
* };
37
* });
38
* },
39
- * render: function(props, state) {
+ * render: function() {
40
* var secondsElapsed = this.state? this.state.secondsElapsed : 0;
41
* return (
42
* <div>Seconds Elapsed: {secondsElapsed}</div>
0 commit comments