Update tutorial.md

The ajax call happens every 5 seconds, not every 60 seconds.
This commit is contained in:
Greg Roodt
2013-06-15 10:15:42 +03:00
parent 495ba6fd6d
commit ddb326a029

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