[READ-ONLY] Mirror of https://github.com/andrioid/dnd-prototype. Very slim React wrapper for drag-and-drop, uses touch polyfill
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 76.8%
JavaScript 21.5%
CSS 1.0%
HTML 0.6%
11 2 0

Clone this repository

https://git.vm.fail/andri.dk/dnd-prototype https://git.vm.fail/did:plc:bjqlvgjtvsvrss2i3i4dfrsf
ssh://git@knot1.tangled.sh:2222/andri.dk/dnd-prototype ssh://git@knot1.tangled.sh:2222/did:plc:bjqlvgjtvsvrss2i3i4dfrsf

For self-hosted knots, clone URLs may differ based on your setup.


README.md

Tiny DND for React#

  • Avoids state and context
  • Stores dragging/dropping states in data-sets
  • Leverages CSS (and Tailwind) to control how dragging and dropping looks like (from data-sets)
  • Supports touch
  • Can drag simple values (strings), or generic objects that are stored as JSON

Current Status#

Proof of concept