/
githubmirror
/
babel
Обзор
Документация
Войти
/
githubmirror
/
babel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/babel-plugin-transform-react-jsx/test/fixtures/react/comments/output.js
38 строк
733 B
liuxingbaoyu
fix: Keep jsx comments (#17538)
29 окт 2025, 22:50
Не верифицирован
29 окт 2025, 22:50
fc11396
Код
Авторство
О чём код?
{ /*#__PURE__*/React.createElement("div", /*i18n*/ { id: 'hello' }); } { /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Trans, /*i18n*/ { a: 1 })); } { /*#__PURE__*/React.createElement("div", { id: 'hello' } /* comments */); } { /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Trans, { a: 1 } /* comments */)); } { /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Trans /*test1 */, { a: "1" /**test2 */, b: "2" /**test3 */ })); } { /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Trans, /*test1*/ { a: 1, /**test2 */b: "2" /*test3 */ })); }