Automatically detects and sets displayName for React components. This is useful for having real component names show up in production builds of React apps.
Simply add @hh.ru/babel-plugin-react-displayname
to your .babelrc
file:
{
"plugins": ["@hh.ru/babel-plugin-react-displayname"]
}
yarn test