You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would consider using the package if the bundle was smaller. Bundlephobia says it is 16KB large, while the underlying React library is around 3KB large.
Is there a way to optimize the output? 16KB for creating customized avatars unfortunately would be a dealbreaker in my case.
Thanks again
The text was updated successfully, but these errors were encountered:
HI @arjan-kitchenstories! Upon inspection, it seems like the 16kb size you're referring to on Bundlephobia is including Vue's bundle size (which is a dependency for vue-boring-avatars, as it should). If you go to the bottom of the page and hover over (self), you can see that the actual size is 3.41kb unzipped, which is a lot smaller than the React version at 14.9kb unzipped.
Vue version at 3.41kb unzipped:
vs
React version at 14.9kb unzipped:
The size that you see on the React version's Bundlephobia appears smaller because the author mistakenly omits React as a dependency when React should've been included.
TLDR; the Vue version's actual size are actually wayyy smaller than what you see on Bundlephobia since it includes Vue as a dependency.
First of all, thank you for this port!
We would consider using the package if the bundle was smaller. Bundlephobia says it is 16KB large, while the underlying React library is around 3KB large.
Is there a way to optimize the output? 16KB for creating customized avatars unfortunately would be a dealbreaker in my case.
Thanks again
The text was updated successfully, but these errors were encountered: