* 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
18 lines
237 B
JavaScript
18 lines
237 B
JavaScript
var _ref = <div>child</div>;
|
|
|
|
const AppItem = () => {
|
|
return _ref;
|
|
};
|
|
|
|
var _ref2 = <div>
|
|
<p>Parent</p>
|
|
<AppItem />
|
|
</div>;
|
|
|
|
export default class App extends React.Component {
|
|
render() {
|
|
return _ref2;
|
|
}
|
|
|
|
}
|