3 ms·
This no longer works in React 0.12 because they changed the element creation syntax. :\
by evmar 12y ago
This no longer works in React 0.12 because they changed the element creation syntax. :\
- b6fan 12y agoActually 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/ http://jsfiddle.net/saxr8gLd/