diegomura / react-pdf-site

react-pdf public site https://react-pdf.org
https://react-pdf.org
120 stars 167 forks source link

Add initial documentation about web workers #116

Closed carlobeltrame closed 1 year ago

carlobeltrame commented 1 year ago

Link to a blog post from earlier this year explaining how to run react-pdf inside a web worker.

I'm thinking about how we could offer a web worker version directly from the react-pdf codebase. We can always replace the blog post link once we have that integration, but for now I wanted to have something in the docs.

Fixes diegomura/react-pdf#464 Fixes diegomura/react-pdf#736 Fixes diegomura/react-pdf#740 Fixes diegomura/react-pdf#1558 Fixes diegomura/react-pdf#1701 Fixes diegomura/react-pdf#2032

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 9:10pm
carlobeltrame commented 1 year ago

@diegomura I think this would be a quick win and pave the way for future web worker support in react-pdf directly (e.g. by providing a prop on the PDFDownloadLink etc. components). Also, if you find this helpful, since hacktoberfest is running again, I'd appreciate if you could add the hacktoberfest-accepted label to this PR.