This library is very large #576
Replies: 3 comments 3 replies
-
yes and no. Generally speaking, offering a flexible web component with all batteries included, where you can change configuration at runtime, comes at the cost of some size. For now, we offer an unstyle version, where we skip the inclusion of the css, which brings it down by ~30%. |
Beta Was this translation helpful? Give feedback.
-
Ok, so the “Unstyled Version” at least sounds promising. 30% is not bad. I am a developer myself who has only integrated one function from this library (without styling). Yes, as already assumed, I use React. I'll try to integrate the main package without the React wrapper. Maybe it's also smart to extract the languages. For example, I see support for many languages that I don't even support in my application. English by default and if you want you can add the other languages as an external file. I18n supports external files for language support: |
Beta Was this translation helpful? Give feedback.
-
Where can I find the "unstyle" version? |
Beta Was this translation helpful? Give feedback.
-
Experience has shown that the user experience depends on the bundle size. The longer it takes to launch a website, the more frustrating the user experience is.
However, when I look at my app, I see that this library leaves a very large footprint.
Unfortunately I don't know how, but somehow it must be possible to make this library smaller.
Beta Was this translation helpful? Give feedback.
All reactions