-
-
Notifications
You must be signed in to change notification settings - Fork 901
Upgrade guide from version 6.x to 7.x
Wojciech Maj edited this page Jun 3, 2023
·
3 revisions
If you use React-PDF in a JavaScript project, you may continue to do so without taking any action.
If you use React-PDF in a TypeScript project, you should remove external @types/react-pdf
dependency from your project.
Bundler-specific entry points attempted to set up PDF.js worker for you, but they did more harm than good. Please follow instructions in README, especially Configure PDF.js worker.
No action is required on coding side, but you should be aware that older browsers may not work correctly or even at all.
You should use renderForms
prop instead.