* Mark transpiled JSX elements as pure * Avoid duble annotation * Add "pure" option to the React preset * Fix generator indentation * Update tests * Add tests for the "pure" option * Update windows fixtures
8 lines
103 B
JavaScript
8 lines
103 B
JavaScript
/** @jsxRuntime classic */
|
|
|
|
/*#__PURE__*/
|
|
React.createElement(Component, { ...x,
|
|
y: 2,
|
|
z: true
|
|
});
|