mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
25 lines
639 B
JavaScript
25 lines
639 B
JavaScript
// didn't work
|
|
/*#__PURE__*/ React.createElement("div", null, function() {
|
|
/*#__PURE__*/ return React.createElement("div", {
|
|
text: "wat"
|
|
});
|
|
});
|
|
// didn't work
|
|
/*#__PURE__*/ React.createElement("div", null, function(x) {
|
|
/*#__PURE__*/ return React.createElement("div", {
|
|
text: "wat"
|
|
});
|
|
});
|
|
// worked
|
|
/*#__PURE__*/ React.createElement("div", null, function() {
|
|
/*#__PURE__*/ return React.createElement("div", {
|
|
text: "wat"
|
|
});
|
|
});
|
|
// worked (!)
|
|
/*#__PURE__*/ React.createElement("div", null, function() {
|
|
/*#__PURE__*/ return React.createElement("div", {
|
|
text: "wat"
|
|
});
|
|
});
|