* 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
10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
import React from 'react';
|
|
import Loader from 'loader';
|
|
|
|
var _ref = <Loader className="full-height" />;
|
|
|
|
var _ref2 = <Loader className="p-y-5" />;
|
|
|
|
const errorComesHere = () => _ref,
|
|
thisWorksFine = () => _ref2;
|