xcomponent.frame.min.js shows up for me at just under 39k for me gzipped, which is only about 4k larger than React.

That said, I’d definitely like to reduce the distributed file size. Unfortunately there’s a lot of redundancy to make sure everything works seamlessly when dealing with lots of cross domain windows and frames in browsers dating back to IE9, and avoiding leaking memory by making sure everything is cleaned up — but I’m definitely in favor of cutting back any unnecessary code and being smarter about building and minifying the code.

If you take a look and see anything obvious that’s missing, or that seems to be really weighing down the build, please feel free to leave somegithub issues or even PRs.

At the very least, I don’t have any new significant features planned on top of what’s already there, so can probably spend some time to focus on cutting stuff back.

Thanks, and all the best! -Daniel

works for PayPal, as a lead engineer in Checkout. Opinions expressed herein belong to him and not his employer. daniel@bluesuncorp.co.uk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store