babel-plugin-recompose-set-display-name

1.0.0 • Public • Published

babel-plugin-recompose-set-display-name

Automatically add displayNames to recompose components

Build Status Coverage Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-recompose-set-display-name

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.99 kB

Total Files

8

Last publish

Collaborators

  • futpib