Closed 0ss closed 2 years ago
I have noticed that lodash is being used in the client and it's making the client unnecessarily heavy because of it's size
lodash
so I removed in index.js all the code that uses lodash and it's functions and replaced it with normal JavaScript to exclude lodash.
index.js
merge
{...}
pick
💡 I haven't removed lodash from dependencies because the test files still use it
Could you remove lodash from package.json?
Context
I have noticed that
lodash
is being used in the client and it's making the client unnecessarily heavy because of it's sizeso I removed in
index.js
all the code that useslodash
and it's functions and replaced it with normal JavaScript to excludelodash
.merge
with object spread{...}
pick
with ES6 destructuring assignment