1.0.0 • Published 5 years ago
babel-plugin-recompose-set-display-name v1.0.0
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
1.0.0
5 years ago