Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As I understand it, that still involves importing the whole file, rather than just the part you need. If that is an issue, lodash is parted out by method, so you can do this instead:

  import clone from 'lodash/lang/clone'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: