Re:Ask HN: Why does validating a user require 14000 files?
by maverwa on Monday August 30, 2021 @05:50AM
(#28354153)
Oh wow, yeah. Looks like the culprit here is google/apiclient-services which provides a fat client for EVERY google API [1]
In classic google monorepo culture, thats one package for all the things. A great example on how not to structure your SDK.
So yeah, you are right. Thats a lot of code if you only use like 0.25% of it.
[1]: https://github.com/googleapis/google-api-php-client-services...
Re:Ask HN: Why does validating a user require 14000 files?
by yashg on Monday August 30, 2021 @06:25AM
(#28354296)
I liked what jQuery UI does. It provides a web based configurator to choose what components you want to use and then you download a custom file with only those components. Really useful Avoid wasteful loading of code you are never going to use.
Recommended by Google https://developers.google.com/identity/gsi/web/guides/verify...