Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new react, react-dom & @react-pdf/renderer dependency options. #46

Open
wants to merge 1 commit into
base: release/0.4
Choose a base branch
from

Conversation

olliglorioso
Copy link

@olliglorioso olliglorioso commented Jul 22, 2022

This fixes the issue #45
npm install gives a warning without these peer dependency alternatives, when the react or react-dom or @react-pdf/renderer are incompatible with the dependencies in the root.

For example, let's suppose that you have "@react-pdf/renderer": "^2.2.0" as a dependency in your React project, with a React version of 18.0.0 for example. npm install will fail without additional flags such as --force or --legacy-peer-deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants