24 ms·
Fantastic! Looking forward to trying it out and replacing all my future links to PDFs with embeds instead. How heavy of a component is it? (would typically ins
by tbrockman 1y ago
Fantastic! Looking forward to trying it out and replacing all my future links to PDFs with embeds instead.
How heavy of a component is it? (would typically inspect it myself but on my phone at the moment)
- bobsingor 1y agoThanks! Really appreciate that — curious to hear how it works out for you. As for size (gzipped): the main JS file is about 77kB, the web worker is around 43kB, and the largest part is pdfium.wasm at roughly 2.7MB. The wasm handles all the heavy lifting, and it loads separately, so the core viewer stays pretty lightweight.