camwiegert/in-view

Is it possible to just use lodash.throttle?

noppanit opened this issue · 1 comments

As far as I have seen I think in-view is just using lodash throttle as a dependency. Is it possible to just use https://www.npmjs.com/package/lodash.throttle?

@noppanit Thanks for looking into it! We're actually using a Webpack plugin to accomplish the same thing. (lodash/lodash-webpack-plugin)

webpack.config.js#L25

I believe the bundle is slightly smaller than using modularized lodash, plus it keeps our dependencies a bit simpler.