Browse Source

Update tutorial.md

The ajax call happens every 5 seconds, not every 60 seconds.
main
Greg Roodt 12 years ago
parent
commit
ddb326a029
  1. 2
      docs/tutorial.md

2
docs/tutorial.md

@ -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

Loading…
Cancel
Save