@regrapes/babel-plugin-add-react-memo-displayname
v1.0.0
Published
Automatically detects and sets displayName on memo and / or forwardRef wrapped React components
Downloads
455
Readme
@regrapes/babel-plugin-add-react-memo-displayname
Automatically detects and sets displayName on memo and / or forwardRef wrapped React components
Installation
Simplay add @regrapes/add-react-memo-displayname
to your .babelrc
file:
{
"plugins": ["@regrapes/add-react-memo-displayname"]
}