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.

HTML5Backend should not have 'react' in peerDependencies either

See original GitHub issue

I’m the author of angular-skyhook, which invites users to install react-dnd-html5-backend. Installing it complains about a missing peer dependency react@>= 16.3.

As far as I can tell, the backend doesn’t require React at all, and that is the reason why angular-skyhook exists. Could you leave that peer dependency for react-dnd to handle?

Tracking: https://github.com/cormacrelf/angular-skyhook/issues/1

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
darthtrevinocommented, Jun 18, 2018

Yeah, that sounds reasonable. I’ll put out a release today

0reactions
cormacrelfcommented, Jun 19, 2018

You are a machine. Cheers again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-dnd-multi-backend/README.md - UNPKG
To get the `HTML5toTouch` pipeline, just require/import `react-dnd-multi-backend/dist/BUILD_TYPE/HTML5toTouch` (where `BUILD_TYPE` is either `cjs` for CommonJS ...
Read more >
React DnD Multi Backend NPM Version dependencies Status ...
In this example, the first touchstart event would trigger the TouchBackend to replace the HTML5Backend —but the user would have to start a...
Read more >
Webpack external OPTIONAL modules - Stack Overflow
Im working on a library that requires some optional peer dependencies. "peerDependencies": { "react- ...
Read more >
Understanding Peer Dependencies in JavaScript
Peer dependencies are a must-know feature that many developers overlook ... has no direct dependency, even though it works on top of React....
Read more >
react-dnd-html5-backend | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
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