1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 16:48:01 +00:00

Add create-react-app Comes With Lodash as a react til

This commit is contained in:
jbranchaud
2018-01-31 11:43:08 -06:00
parent 63a5d64655
commit 36250fe567
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
# create-react-app Comes With Lodash
Lodash is already a dependency of create-react-app. If you need one of those
fancy Lodash functions, there's no need to `yarn add lodash` to your
project, all you need is an import statement.
```javascript
import chunk from 'lodash/chunk';
```
h/t Dillon Hafer