An open API service indexing awesome lists of open source software.

https://github.com/moebiusmania/react-dnd-poc

Example projects that combines a React component with the browser native Drag & Drop API.
https://github.com/moebiusmania/react-dnd-poc

demo dnd drag-and-drop react

Last synced: 3 months ago
JSON representation

Example projects that combines a React component with the browser native Drag & Drop API.

Awesome Lists containing this project

README

        

# react-dnd-demo

> Example projects that combines a React component with the browser native Drag & Drop API.

## Note

Please refer to `src/components/FileUploader.tsx` as the most important file of this project.

## What's being used:

- [Vite](https://vitejs.dev/) - project scaffolding & development setup
- [React](https://reactjs.org/) - a JavaScript library for building user interfaces
- [Typescript](https://www.typescriptlang.org/) - static type checking for Javascript
- [Drag & Drop HTML API](https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API) - interfaces that enable applications to use drag-and-drop features in browsers.

## Getting started

- Clone the repo
- `cd`'s into into and install dependencies with

```bash
$ npm ci
```

- (instantly) start the dev server

```bash
$ npm run dev
```

## License

Released with [MIT license](LICENSE).