Slow generation time for PDF with many pages
What is expected generation time for PDFs with large number of pages? Currently creating PDF (using .toBlob()) takes 40+ seconds for 40+ page PDF (each page consisting of at least 150-200 Text elements). For even larger files it also sometimes creates unresponsive window warning for the users in the browser. Is there any way to speed this up? Using latest version of react-pdf/render
@renchix use web worker i.e https://dev.to/simonhessel/creating-pdf-files-without-slowing-down-your-app-a42
I have the same problem, but I made an API to render the PDF and return the bytes to my user to display it in an iframe. However, when I try to generate a PDF with a lot of data, it's taking up to 30 minutes to generate, and I don't know what else I can do.