You are importing the whole lodash library for a single function. This is a terrible pattern and will bloat the bundle, since there is no tree shaking at all.
If you just need isEqual, please use it like this:
npm install --save lodash.isequal
# or
yarn add lodash.isequal
You are importing the whole lodash library for a single function. This is a terrible pattern and will bloat the bundle, since there is no tree shaking at all.
If you just need isEqual, please use it like this:
and import