Binding Expressions

The purpose of components is to merge data with the template (JSX.) This is done with the help of the {expression} syntax and can be placed either as a text node or attribute.

  • Bind data.name to the value attribute of <input/>.
  • Bind data.description to the content of <textarea/>.

Edit this tutorial