Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
evmar
· 11y ago · 0 comments
This no longer works in React 0.12 because they changed the element creation syntax. :\
Comments
[–]
b6fan
11y ago
Actually I am using this syntax with React 0.12.1. React.DOM just work as expected. For custom components, prepend "React.createClass" with "React.createFactory". See
http://jsfiddle.net/saxr8gLd/