Changes based on @brentvatne revision

This commit is contained in:
Christopher Dro 2015-05-30 18:00:34 -07:00
parent 47e56d778a
commit 597f9d94fd

View File

@ -71,5 +71,4 @@ var Component = React.createClass({
});
```
We strongly discourage using `setTimeout(...)` and recommend using `this.setTimeout(...)`.
This will eliminate a lot of hard work tracking down bugs.
We strongly discourage using the global `setTimeout(...)` and recommend instead that you use `this.setTimeout(...)` provided by react-timer-mixin. This will eliminate a lot of hard work tracking down bugs, such as crashes caused by timeouts firing after a component has been unmounted.