react-pdf
react-pdf copied to clipboard
Usage of pdfjs-dist v4.0.189
Before you start - checklist
- [X] I understand that React-PDF does not aim to be a fully-fledged PDF viewer and is only a tool to make one
- [X] I have checked if this feature request is not already reported
Description
Hi,
Do you know when react-pdf will use pdfjs-dist v4.0.189 ?
Proposed solution
No response
Alternatives
No response
Additional information
No response
It's totally a no-brainer, but I need to find the time to do it.
waiting for v4.0.379 as well 🙏
@mikhailbartashevich Please read: https://github.com/wojtekmaj/react-pdf/pull/1690#issuecomment-1908333287
I am putting React-PDF into my project and I have spent quite some times to figure out which version of pdf.js to use. Would be glad if you can add some guidance in the Readme. Thank you!
@Joseph-Hui None. pdf.js is a direct dependency of react-pdf, at a specific, tested version. If you had to install it manually docs would have mentioned it.
I see. I am wrapping react-pdf to work with my Kotlin/JS project and thought I need to specify pdfJs.GlobalWorkerOptions.workerSrc
explicitly. Thank you for the clarification.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
You could also have a read here: https://github.com/wojtekmaj/react-pdf/discussions/1786