Today I Learned

hashrocket A Hashrocket project

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.

import chunk from 'lodash/chunk';

h/t Dillon Hafer

See More #react TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.