1.0.0 • Published 4 years ago

@regrapes/babel-plugin-add-react-memo-displayname v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@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"]
}