Devon Govett 6ba1f0dd22
Implement @babel/plugin-transform-react-pure-annotations (#11428)
The new plugin is also enabled in `@babel/preset-react`
2020-05-24 22:55:29 +02:00

3 lines
80 B
JavaScript

import React from 'react';
const Comp = /*#__PURE__*/React.memo(props => null);