Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Commit

Permalink
docs(readme): fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge authored May 3, 2017
1 parent 38f5138 commit f076ade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import recompact from 'recompact'

### [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash)

The best way to reduce build size is to use [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash):
The best way to reduce build size is to use [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash). It can be used with other libraries than lodash, just like this:

**.babelrc**

Expand All @@ -38,7 +38,7 @@ The best way to reduce build size is to use [babel-plugin-lodash](https://github
Transforms
```js
import recompact from 'recompact'
import { pure, withProps } from 'recompact/withProps'
import { pure, withProps } from 'recompact'

const enhance = recompact.compose(
withProps({ className: 'beautiful' }),
Expand Down

0 comments on commit f076ade

Please sign in to comment.