* 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
149 B
JavaScript
8 lines
149 B
JavaScript
var _ref = <div data-text={"Some text, " + "and some more too."} />;
|
|
|
|
var Foo = React.createClass({
|
|
render: function () {
|
|
return _ref;
|
|
}
|
|
});
|