wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
9.11k stars 867 forks source link

why not allow user use self pdfjs instance. #1714

Closed pk111and222 closed 6 months ago

pk111and222 commented 6 months ago

Before you start - checklist

Description

why not allow user use self pdfjs instance. In fact, both version and loading issues with pdfjs can be resolved on their own, simply allowing users to pass in pdfjs themselves during initialization with react pdf instead of default built-in functionality

Proposed solution

No response

Alternatives

No response

Additional information

No response

wojtekmaj commented 6 months ago

Because of breaking changes, happening even between versions technically belonging to the same major. 🤷