Clint Goodman 266e07736e
fix: Don't hoist JSX elements referencing mutable variables (#13054)
issue-13051

Co-authored-by: Clint Goodman <clintgoodman@workfront.com>
2021-03-25 16:38:31 +01:00

6 lines
110 B
JavaScript

var Foo = React.createClass({
render: function render() {
return <div foo={notDeclared}></div>;
}
});