mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Match setTimeout delay with documentation
This commit is contained in:
1 parent
76b2e87173
commit
7818b9f81f
1 file changed
+1
-1
@@ -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