Question

Why isn’t my attribute xyz showing up on ? (where is xyz is something like autoFocus)

Answer

You might be spelling it incorrectly.

React supports camelCased HTML attributes, but the equivalent in Reagent is dashed and lower cased.

For example, with Reagent, you use auto-focus, instead of autoFocus. And you use col-span instead of React’s colSpan.


Up: FAQ Index