ctrlplusb / easy-peasy

Vegetarian friendly state for React

Home Page:https://easy-peasy.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inquiry Regarding Bundle Size in easy-peasy v6.0.4

ayoubkhan558 opened this issue · comments

I noticed that the bundle size of easy-peasy v6.0.4 is 35.3 kB (minified) and 11.0 kB (compressed with GZIP). Given the emphasis on optimization in web development, are there plans to reduce this size without compromising functionality? Looking forward to your insights.

Hey @ayoubkhan558 !

There are currently no ongoing efforts in reducing the bundle size of easy-peasy.

However, we are open to pull requests if you feel inclined to reduce the footprint of this library while still keeping the same API and behaviour.

As mentioned in the docs, 11kb gzipped is not crazy big - but it might not be the best fit in some cases where footprint is a major concern. In this case, you could look at alternatives to see if there are any candidates with a smaller footprint.