Y
Hacker News
new
|
ask
|
show
|
jobs
by
evmar
4159 days ago
This no longer works in React 0.12 because they changed the element creation syntax. :\
1 comments
b6fan
4159 days 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/
link