Update tutorial.md

The ajax call happens every 5 seconds, not every 60 seconds.
This commit is contained in:
Greg Roodt
2013-06-17 17:18:23 -07:00
committed by Paul O’Shannessy
parent 388c8a505d
commit da9ddffb3a
+1 -1
View File
@@ -435,7 +435,7 @@ React.renderComponent(
```
All we have done here is move the AJAX call to a separate method and call it when the component is first loaded and every 60 seconds after that. Try running this in your browser and changing the `comments.json` file; within 5 seconds, the changes will show!
All we have done here is move the AJAX call to a separate method and call it when the component is first loaded and every 5 seconds after that. Try running this in your browser and changing the `comments.json` file; within 5 seconds, the changes will show!
## Adding new comments