Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e414ac6

Browse files
committed
Add cache: false to tutorial JS
this matches what we do in the actual tutorial
1 parent a97df5b commit e414ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/scripts/example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var CommentBox = React.createClass({
2929
$.ajax({
3030
url: this.props.url,
3131
dataType: 'json',
32+
cache: false,
3233
success: function(data) {
3334
this.setState({data: data});
3435
}.bind(this),

0 commit comments

Comments
 (0)