question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Peer dependency on react, react-dom

See original GitHub issue

Hi

Amazing work on the whole library, really thankful for all that you do

Just needed to understand why do the react and react-dom peerDependencies have a minimum version requirement of v17+? Also, why is an update needed in the min version of react for every release of the library?

Is it feasible to have a min version requirement of 16.8 instead?

Would love to understand more about how that might affect the implementation since it can be an issue as the user will have to update react and react-dom versions for every react-konva update which may not be feasible to do in some situations

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lavrtoncommented, Jul 13, 2021

Yes, please send a PR.

0reactions
souldjlcommented, Apr 25, 2022

can you give me a version to run it well ? “react”: “^16.13.0”, “react-dom”: “^17.0.2”, what should i have in react-konva version & konva version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the correct way of adding a dependency to react in ...
You can have react in either peerDependencies or in dependencies . The difference being that with ...
Read more >
Understanding Peer Dependencies in JavaScript
Peer dependencies are almost like normal dependencies, but instead of defining a strong requirement between A and B (i.e the project you're ...
Read more >
React & ReactDOM as peer dependencies · Issue #539 - GitHub
Since peerDependencies has been deprecated in NPM 3, I'll change package.json like this to be compatible with NPM 2. "dependencies": { " ...
Read more >
react-dom versions and peer dependencies
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
npm Peer Dependencies - Fathom
Peer dependencies effectively declare a dependency without including the dependency in your built module. When an application includes your module, that ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found