Textarea
In HTML, a <textarea> form element defines its text by its children.
<textarea>
Some text in a text area
</textarea>
In React, a <textarea> form element uses a value attribute instead. This way, a form using a <textarea> can be written very similarly to a form that uses a <input> form element.
See the Pen BxEJVq by Bunlong (@Bunlong) on CodePen.
Note: this.state.value is initialized in the constructor, so that the text area starts off with some text in it.