Mark hoisted react constant elements as #__PURE__ (#7372)

This commit is contained in:
Mateusz Burzyński
2018-02-21 18:58:56 +01:00
committed by GitHub
parent d75a6b8468
commit d283324f8a
42 changed files with 180 additions and 57 deletions

View File

@@ -1,6 +1,8 @@
var Foo = require("Foo");
var _ref = <Foo />;
var _ref =
/*#__PURE__*/
<Foo />;
function render() {
return _ref;