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

4 lines
82 B
JavaScript

import {forwardRef} from 'react';
const Comp = forwardRef((props, ref) => null);