babel-plugin-recompose-set-display-name
v1.0.0
Published
> Automatically add `displayName`s to recompose components
Downloads
3
Readme
babel-plugin-recompose-set-display-name
Automatically add
displayName
s to recompose components
Example
const Foo = compose(
withProps(...),
withStateHandlers(...),
setDisplayName('Foo'), // You don't have to write this! It will be added by Babel
)(() => (
<div>
foo
</div>
))
Install
yarn add --dev babel-plugin-recompose-set-display-name