* Mark transpiled JSX elements as pure * Avoid duble annotation * Add "pure" option to the React preset * Fix generator indentation * Update tests * Add tests for the "pure" option * Update windows fixtures
8 lines
128 B
JavaScript
8 lines
128 B
JavaScript
var _ref = <div foo={notDeclared}></div>;
|
|
|
|
var Foo = React.createClass({
|
|
render: function render() {
|
|
return _ref;
|
|
}
|
|
});
|