In React (Facebook\'s framework), I need to render a label element bound to a text input using the standard for attribute.
for
e.g. the following JSX is use
Yes, for react,
for becomes htmlFor
htmlFor
class becomes className
class
className
etc.
see full list of how HTML attributes are changed here:
https://facebook.github.io/react/docs/dom-elements.html