iulianraduat / react-select-material-ui

A react SELECT component based on react-select and looking like a material-ui component
MIT License
73 stars 18 forks source link

How to reduce bundled size of react-select-material-ui? #46

Closed hnhegde closed 2 years ago

hnhegde commented 2 years ago

I am using react-select-material-ui for a form in my blog. The component is pretty useful. Thanks to @iulian-radu-at for developing it. Howeve this component seems to have a large footprint. As per bundle analyzer, react-select-material-ui seems to contribute significantly to the bundle size. Any idea how to reduce the size?

PFA bundle analysis screenshot. Lodash seems to be the major contributor.

image

image

iulianraduat commented 2 years ago

Hi @hnhegde,

I just published the v9 and I hope it will "fix" your problem.

Please check it and let me know.

Cheers, Iulian

hnhegde commented 2 years ago

Much better! Thank you @iulian-radu-at image