1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/react/create-react-app-comes-with-lodash.md
2018-01-31 11:46:00 -06:00

13 lines
372 B
Markdown

# create-react-app Comes With Lodash
[Lodash](https://lodash.com/) is already a dependency of
[create-react-app](https://github.com/facebook/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