mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Match setTimeout delay with documentation
This commit is contained in:
committed by
Paul O’Shannessy
parent
76b2e87173
commit
7818b9f81f
@@ -20,5 +20,5 @@ React.renderComponent(<input value="hi" />, mountNode);
|
||||
|
||||
setTimeout(function() {
|
||||
React.renderComponent(<input value={null} />, mountNode);
|
||||
}, 2000);
|
||||
}, 1000);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user