DEV Community

Discussion on: Let's talk about Lodash

Collapse
modestfake profile image
Vitalii Saienko

You can also install lodash-es and then use

import { groupBy } from 'lodash-es'
Enter fullscreen mode Exit fullscreen mode

In this case, no Babel plugins are needed, it's tree-shakable by default. And you can use regular imports.