* 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
115 B
JavaScript
8 lines
115 B
JavaScript
function render(_ref) {
|
|
let text = _ref.text;
|
|
|
|
var _ref2 = <Component text={text} />;
|
|
|
|
return () => _ref2;
|
|
}
|