← Back to all TILs

create-react-app Comes With Lodash

react Written January 31, 2018

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.

import chunk from 'lodash/chunk';

h/t Dillon Hafer

Other posts like this