
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
react-dnd-mouse-backend
Advanced tools
A lightweight attempt for solving the whole HTML5 DnD - svg tags compability issue
http://zyzo.github.io/react-dnd-mouse-backend/
Mouse Backend for React Drag and Drop library http://gaearon.github.io/react-dnd
import { DragDropContext } from 'react-dnd'
import MouseBackEnd from 'react-dnd-mouse-backend'
const App = {...}
const AppContainer = DragDropContext(MouseBackEnd)(App)
First, prepare the playground:
cd example;
yarn; yarn start
Then head to http://localhost:3030/ to start some fun drag and dropping.
First, install the project locally:
git clone git@github.com:zyzo/react-dnd-mouse-backend.git
cd react-dnd-mouse-backend; npm install
# (Optional) prepare example project
cd example; npm install
Then, link react-dnd-mouse-backend to example project (or your js project):
# in ./react-dnd-mouse-backend
npm link
cd example; npm link react-dnd-mouse-backend
Finally you can begin to make changes in src folder, and rebuild the lib:
npm run build
Inspired by HTML5 Backend & Touch Backend to support only mouse events, which work much better in some cases, like svg.
FAQs
A lightweight attempt for solving the whole HTML5 DnD - svg tags compability issue
We found that react-dnd-mouse-backend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.