mirror of
https://github.com/status-im/reagent.git
synced 2025-01-30 13:45:23 +00:00
556 B
556 B
Question
Why isn't my attribute xyz
showing up on ? (where is xyz
is something like autoFocus
)
Answer
You might be using the wrong attribute name.
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