Peer dependency on react, react-dom
See original GitHub issueHi
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:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top 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 >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
Yes, please send a PR.
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?