"web components" without any...uh...web components?...hrm...not shocked it's 790K of JS. https://medium.com/@bluepnume/introducing-xcomponent-seamless-cross-domain-web-components-from-paypal-c0144f3e82bf#.iewe0ze9a … https://www.paypalobjects.com/api/checkout.js
-
-
Replying to @slightlylate
Basically, PayPal's "checkout.js" is malpractice on any mobile site. Forewarned is forearmed.
3 replies 4 retweets 10 likes -
Replying to @slightlylate
Good news, tho. PayPal ships checkout.js largely unminified, so it compresses down to a sprightly 98K in transit!
1 reply 1 retweet 2 likes -
Replying to @slightlylate1 reply 0 retweets 3 likes
-
Replying to @tessthornton
: aha! Thank you. Wonder why their docs don't use this instead?
1 reply 0 retweets 0 likes -
Replying to @slightlylate @tessthornton
Adding in my colleague
@bluepnume - he's on twitter :)1 reply 0 retweets 1 like -
Replying to @asteingruebl
: thanks! Hey
@bluepnume...can we talk about the size of checkout.js? It's...not OK. slightlyoff@google.com /cc@tessthornton1 reply 0 retweets 0 likes -
Thanks for the heads-up! -- posted a reply here: https://github.com/paypal/paypal-checkout/issues/44 … just to give some context
1 reply 0 retweets 1 like -
Replying to @bluepnume
: great! Are you generating Source Maps? That's usually the soution. /cc
@asteingruebl@tessthornton2 replies 0 retweets 0 likes -
I maintain a 3rd party js app and tbh to debug I just paste merchant html into my dev environment
1 reply 0 retweets 1 like
: or perhaps a query param you can set from devtools/proxy? Tho at that point just remove ".min"?
/cc @bluepnume @asteingruebl
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.