We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a08a579 commit cd154ceCopy full SHA for cd154ce
4.html
@@ -80,10 +80,12 @@ <h1>Shopping List for {this.props.name}</h1>
80
81
let baseDiv = document.querySelector("#root");
82
83
-// Note the this.props.name. We can pass that prop during construction as below:
84
-// Props in react are just attributes on their
+// Note the this.props.name.
+// We can pass that prop during construction as below
85
+// Props in react are just attributes on the element
86
-// Below is the render function from react-dom. It injects a react component into a component in the regular dom.
87
+// Below is the render function from react-dom
88
+// It injects a react component into a component in the regular dom.
89
render(<ShoppingList name="Whatever" />, baseDiv)
90
</code></pre>
91
</section>
0 commit comments