There's been a lot of discussion lately around how React should use JSX to describe DOM nodes. Thanks to @piranha for sparking this discussion in facebook/react#269
To summarize the current convention of React DOM nodes such as <div /> and <span />.
- All React DOM elements expect camelCased versions of attributes.
- camelCasing is natural in a JavaScript-centric programming paradigm (like React).
- the camelCasing of DOM matches what you would write for custom components:
and