The entire Lodash library is being imported
sant3001 opened this issue · 1 comments
sant3001 commented
Lodash is being imported with this syntax:
import _ from 'lodash';
This is bad for bundle size as the entire Lodash library is being imported. Instead, the import statements should look like this:
import _get from 'lodash/get';
import _isEqual from 'lodash/isEqual';
import _findIndex from 'lodash/findIndex';
import _assign from 'lodash/assign';
sant3001 commented
This issue has been resolved. Thanks!