You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a lot of places lodash is used for things which can be achieved using vanilla JS (e.g. _.isFunction, _.isArray, etc.). In order to decrease the dependency surface, we could try to factor out as much lodash as reasonably possible.
Not sure what the best way to import lodash would be:
import { isEqual } from 'lodash'
// or
import isEqual from 'lodash/isEqual'
The current method (import _ from 'lodash') is not the best way.
The text was updated successfully, but these errors were encountered:
In a lot of places lodash is used for things which can be achieved using vanilla JS (e.g.
_.isFunction
,_.isArray
, etc.). In order to decrease the dependency surface, we could try to factor out as much lodash as reasonably possible.Not sure what the best way to import lodash would be:
The current method (
import _ from 'lodash'
) is not the best way.The text was updated successfully, but these errors were encountered: