
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
react-drag-drop-container-typescript
Advanced tools
A ReactJS library with Drag and Drop functionality for mouse and touch devices.
The following library allows us to create Drag & Drop interactions more effectively and natively without using HTML5. This library was not made by me, but by Peter Hollingsworth, this is just maintenance and improvements of the old library.
# NPM
npm install react-drag-drop-container-typescript
# Yarn
yarn add react-drag-drop-container-typescript
Only single target key:
import { DragDropContainer, DropTarget } from 'react-drag-drop-container-typescript';
<DragDropContainer targetKey="foo" >
<div>Drag Me!</div>
</DragDropContainer>
<DropTarget targetKey="foo" >
<p>I'm a valid drop target for the object above since we both have the same targetKey!</p>
</DropTarget>
With multiple target keys:
import { DragDropContainer, DropTarget } from 'react-drag-drop-container-typescript';
<DragDropContainer targetKey={[ "foo", "bar" ]} >
<div>Drag Me!</div>
</DragDropContainer>
<DropTarget targetKey={[ "foo", "bar" ]} >
<p>I'm a valid drop target for the object above since we both have the same targetKey!</p>
</DropTarget>
This project will always remain open source and any kind of contribution is welcome. By participating in this project, you agree to keep common sense and contribute in a positive way.
A special thanks to Peter Hollingsworth who had the idea to start this project and to their contributors who also invested the time in making the improvements and bugfixes and another special thanks to Victoria Likhuta who made an amazing clean code and performance improvements, just took her code from PRs (#40 / #43)
Copyright © 2022 João Fernandes.
This project is MIT licensed.
FAQs
Drag & Drop Container in TypeScript
The npm package react-drag-drop-container-typescript receives a total of 19 weekly downloads. As such, react-drag-drop-container-typescript popularity was classified as not popular.
We found that react-drag-drop-container-typescript 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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.