extract-hoc icon indicating copy to clipboard operation
extract-hoc copied to clipboard

A Babel plugin that enables react-hot-loader to work on HoCs.

Results 3 extract-hoc issues
Sort by recently updated
recently updated
newest added

I think it's best to make it more flexible by removing the prod env check and letting the user handle this in babel config.

I added another approach that can optionally be enabled with the copyExactName flag. This way exact function names will be preserved.

This plugin seems to change unwanted functions, in my case `defineMessages` from [react-intl](https://github.com/yahoo/react-intl/wiki/API#definemessages). [My app contains code like following](https://github.com/jkettmann/universal-react-relay-starter-kit/blob/master/client/pages/App/App.js#L14). ``` const messages = defineMessages({ pageTitle: { id: 'App.pageTitle', defaultMessage: 'Page...