mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #3910 from spicyj/gh-3904
Clarify tutorial instructions
This commit is contained in:
committed by
Paul O’Shannessy
parent
c72390a94c
commit
daee5502cf
@@ -124,7 +124,7 @@ You do not have to return basic HTML. You can return a tree of components that y
|
||||
|
||||
## Composing components
|
||||
|
||||
Let's build skeletons for `CommentList` and `CommentForm` which will, again, be simple `<div>`s:
|
||||
Let's build skeletons for `CommentList` and `CommentForm` which will, again, be simple `<div>`s. Add these two components to your file, keeping the existing `CommentBox` declaration and `React.render` call:
|
||||
|
||||
```javascript
|
||||
// tutorial2.js
|
||||
|
||||
Reference in New Issue
Block a user