-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dependencies - the plugin is not lightweight #298
Comments
@neuropass if you're willing to help slim it down - we'd very likely be open to a PR |
I would If I had the knowledge. I like the plugin but saying its lightweight , no overhead etc etc is simply not true. less experienced users are installing this thinking is some great addon. it is but comes with a cost on your web page. I dont think you can ignore this. Lato font alone is not needed. all that JS is it really needed to create a simple share button? what's the logic behind it? |
@neuropass you'll have to show me where were are billing it as "no overhead etc etc". we don't use that language in the readme anywhere. if i had to guess you're referring to where we say "Simple, light, flexible, and good-looking share button" - which I don't feel is a stretch. I agree in principle the Lato font is not required. Perhaps we'll make it optional someday. We'll be sure to ping you if we do end up addressing your concerns in the future. |
Just to chime in; in share-button's current state we've added the ability for users to integrate the button in various ways and allow a lot more customization than previous versions. Regarding how lightweight share-button is, well that's left to one's opinion. I do agree that it's current state isn't the lightest, but some people will consider jquery to be light and that's pretty big. Tho in the end we have trade-offs, the reason we jumped in size so much between Here's the size comparisons between
|
Hi,
I noticed there are still many dependencies and saying that the plugin doesn't add overhead its not quite true. Iwould argue the opposite in fact.
for example ,the lato font @import is a terrible practice and its not useful to anyone just to add a "share" text. it should not be part of the default css for sure.
regarding the script, 60kb is not what I consider lightweight. 29, minified still not lightweight.
it seems that you can use the plugin if you select the code from line 634 to 1563 so why not to just break it down fro production and explain these things better?
The text was updated successfully, but these errors were encountered: