News for hackers. Stuff that matters.
Re:Deep Cloning Objects in JavaScript, the Modern Way by nobleach on Friday December 22, 2023 @08:03AM (#38733719)
I actively fight for removal of lodash in every frontend codebase I encounter. The cost is just too much. Often I run into developers who tell me there's some sort of webpack plugin to treeshake all the `import _ from 'lodash';` nonsense. The truth is, when we run a bundle analyzer, it's still one of the biggest bloaters. Webpack is also becoming less common in newer codebases. The point is, while it provides a ton of convenience methods, there is a cost.

There are no comments on this comment yet.