Support React 17
See original GitHub issueNPM v7 throws the following error when using react-pdf with the latest version of React
npm ERR! node_modules/react
npm ERR! react@"^17.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from @react-pdf/renderer@1.6.12
npm ERR! node_modules/@react-pdf/renderer
npm ERR! @react-pdf/renderer@"^1.6.10" from the root project
I’m not sure if there are any code migration required or if only the package.json
needs to me modified.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:49
- Comments:48 (10 by maintainers)
Top Results From Across the Web
React v17.0 – React Blog
React 17 supports the new JSX transform. We've also backported support for it to React 16.14.0, React 15.7.0, and 0.14.10.
Read more >React | endoflife.date
React is an open-source JavaScript web framework for building modern web applications. Release, Released, Active Support, Security Support, Latest. 18.2, 6 ...
Read more >React 18 Upgrade Guide and New Features - Refine Dev
render() API supported in React 17; you will see this warning. Typically, we import a component and render it inside a div element...
Read more >How to install next-js with react 17? - Stack Overflow
If you've already created the project: remove new versions: npm uninstall next react react-dom @types/react @types/react-dom.
Read more >Atlaskit + React 17 - Atlassian Ecosystem Design
It looks like Atlaskit still prefers React 16.x and react-scripts 4.x. Is there a plan to cleanly support React 17.x?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Waiting for React 17 Support
@diegomura I would say you don’t have to support outdated libraries in latest versions. If people want to use outdated software, they can use older releases.