|
|
@ -50,6 +50,8 @@ For this tutorial we'll use prebuilt JavaScript files on a CDN. Open up your fav |
|
|
|
|
|
|
|
For the remainder of this tutorial, we'll be writing our JavaScript code in this script tag. |
|
|
|
|
|
|
|
**Note:** We included jQuery but it's **NOT** mandatory for React to work. |
|
|
|
|
|
|
|
### Your first component |
|
|
|
|
|
|
|
React is all about modular, composable components. For our comment box example, we'll have the following component structure: |
|
|
|