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

14 lines
237 B
JavaScript

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