Enclose a value of variable in back quote
Kohei TAKATA committed
Jul 6, 2015 at 17:57 UTC
f0a7b5df642b376a80f6ded3bea886826d55a45f
1 file changed
+1
-1
docs/docs/07-forms.md
+1
-1
@@ -105,7 +105,7 @@ Using form components such as `<input>` in React presents a challenge that is ab
105
<input type="text" name="title" value="Untitled" />
106
```
107
108
-This renders an input *initialized* with the value, `Untitled`. When the user updates the input, the node's value *property* will change. However, `node.getAttribute('value')` will still return the value used at initialization time, `Untitled`.
108
+This renders an input *initialized* with the value, `Untitled`. When the user updates the input, the node's `value` *property* will change. However, `node.getAttribute('value')` will still return the value used at initialization time, `Untitled`.
109
110
Unlike HTML, React components must represent the state of the view at any point in time and not only at initialization time. For example, in React:
111