swc/tests/fixture/issue-1233/case-1/output/index.js
Devon Govett 8f5daa3bbb
feat(es/transforms/react): Add pure annotation comments (#1564)
swc_ecma_transforms_react:
 - Add pure annotations for react.
2021-04-11 15:09:27 +09:00

6 lines
118 B
JavaScript

function Component() {
return( /*#__PURE__*/ React.createElement("div", {
name: "A\n\n B"
}));
}