mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Changes based on @brentvatne revision
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user