Closed 0x80 closed 7 years ago
I was surprised to find out from the docs from recompose that babel-plugin-lodash is not limited to Lodash at all.
babel-plugin-lodash
{ "plugins": [ ["lodash", { id: ["lodash", "recompose"] }] ] }
This allows you to write import { compose, mapProps, withState } from 'recompose'.
import { compose, mapProps, withState } from 'recompose'
Wouldn't it make sense to rename this plugin to something more generic to avoid confusion, or at least mention this use-case in the readme?
Dup of #154.
I was surprised to find out from the docs from recompose that
babel-plugin-lodash
is not limited to Lodash at all.This allows you to write
import { compose, mapProps, withState } from 'recompose'
.Wouldn't it make sense to rename this plugin to something more generic to avoid confusion, or at least mention this use-case in the readme?