Replies: 2 comments 1 reply
-
It's out of date. We should really update it to 4kB as it hovered around that size for a while now as we have kept adding compatibility fixes. There are some plans how to get that down to something <4kB again, but doing so would be a breaking change. That's the reason we've held off on doing so. |
Beta Was this translation helpful? Give feedback.
-
Looks like currently it's around 4.7kB, not counting Also, https://preactjs.com/guide/v10/switching-to-preact says that preact/compat adds ~2kB, but the same link as above shows 4.1kB for Preact is a phenomenal library and worth its larger size compared to ancient versions, but yeah, it would be good to update those docs to reflect current numbers. |
Beta Was this translation helpful? Give feedback.
-
I've looked all over the place, and the closest I could find after brotli-ing
preact.min.js
at 4KiB. Is it just out of date, or is there a ultralight bundle that actually that small pre-compression?Beta Was this translation helpful? Give feedback.
All reactions