A React component to wrap PDF.js
Big update:
Lots of changes here, fully modernized.
pdfjs-dist
is now a peer dependency so you can install whatever version you wantLots of work from @ksocha, thank you very much! Updated everything to the latest packages, added some new features, improved our docs, added some tests, etc.
Moving to the es6 bundled version of pdfjs-dist (@bundled-es-modules/pdfjs-dist) to get rid of the warnings when using Create React App.
Adding a withCredentials prop. Thanks @ekeuus!
We're a hook now. Just usePdf and you're done! Big thanks to @ericchernuka for the assistance.
Hooks! The v4.2.0 release and forward will all be requiring React 16.8.0+ due to us using hooks now.
Moved to nwb and merged a few pulls:
Thank you to all the contributors!
Includes: