You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lesson1.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,8 @@ <h1>Your Sanbox</h1>
84
84
<divclass="row">
85
85
<divclass="col-sm-12">
86
86
<p>
87
-
Most of the code on the pages is live editable. An explanation for how the code viewer works is at the end of lesson 2. "basic.html" has been created for you so that you can experiment in creating your own components in an environment that is already setup.
87
+
Most of the code on the pages is live editable. An explanation for how the code viewer works is at the end of lesson 2.
88
+
<ahref="./basic.html">basic.html</a> has been created for you so that you can experiment in creating your own components in an environment that is already setup.
88
89
</p>
89
90
</div>
90
91
</div>
@@ -127,7 +128,7 @@ <h1>Components as Tags</h1>
127
128
<divclass="col-sm-12">
128
129
<h2>JSX Syntax</h2>
129
130
<p>
130
-
React JSX is transpiled to Javascript. This allows for mixing html and javascript syntax.
131
+
React JSX is transpiled to Javascript. This allows for mixing html and javascript syntax.
131
132
</p>
132
133
</div>
133
134
</div>
@@ -148,6 +149,7 @@ <h2>JSX Syntax</h2>
148
149
<li>Brackets ("{}") are used to evaluate javascript within the tags.</li>
149
150
<li>The attributes of a tag are mapped to as props for the component state</li>
150
151
<li>The contents are mapped to the props.children for the component state</li>
152
+
<li>React.renderComponent mounts a given component inside a DOM element</li>
0 commit comments