Samuel Reed f4e3dfee74 Fix PathHoister hoisting before bindings. (#5153)
Fixes #5149 and enables a few additional safe hoists.
2017-02-12 18:35:08 -08:00

19 lines
286 B
JavaScript

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