From f0a7b5df642b376a80f6ded3bea886826d55a45f Mon Sep 17 00:00:00 2001 From: Kohei TAKATA Date: Mon, 6 Jul 2015 17:57:44 +0900 Subject: [PATCH] Enclose a value of variable in back quote --- docs/docs/07-forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/07-forms.md b/docs/docs/07-forms.md index 4bad8ea7c8..0ca639b927 100644 --- a/docs/docs/07-forms.md +++ b/docs/docs/07-forms.md @@ -105,7 +105,7 @@ Using form components such as `` in React presents a challenge that is ab ``` -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`. +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`. 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: