mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
add highlight to a line of code to tutorial20.js (all languages included)
This commit is contained in:
1 parent
d01188133e
commit
e02bd0543f
5 files changed
+5
-5
No files matched your search
Regular → Executable
+1
-1
@@ -733,7 +733,7 @@ var CommentBox = React.createClass({
|
||||
|
||||
Our application is now feature complete but it feels slow to have to wait for the request to complete before your comment appears in the list. We can optimistically add this comment to the list to make the app feel faster.
|
||||
|
||||
```javascript{17-23}
|
||||
```javascript{17-23,33}
|
||||
// tutorial21.js
|
||||
var CommentBox = React.createClass({
|
||||
loadCommentsFromServer: function() {
|
||||
|
||||
Reference in new issue
Block a user