From f076adee8125b566f6fbc2375189fa4f9bb219aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Wed, 3 May 2017 08:09:48 +0200 Subject: [PATCH] docs(readme): fix example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52283b5..52bcaa5 100644 --- a/README.md +++ b/README.md @@ -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** @@ -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' }),