Samuel Reed 853b9f8ece Fix multiple var declarations in transform-react-constant-elements (#5732) (#5756)
This was broken by a legacy attachment path conditional that
is no longer needed.
2017-05-22 17:46:53 -04:00

15 lines
236 B
JavaScript

export default class App extends React.Component {
render() {
return _ref;
}
}
var _ref2 = <div>child</div>;
const AppItem = () => {
return _ref2;
},
_ref = <div>
<p>Parent</p>
<AppItem />
</div>;