|
|
|
|
|
by gavinray
25 days ago
|
|
This was circa 2010 or so, and it was a web app. So pre-ES6 JavaScript, before React. Nowadays you would just "npm install drag-and-drop" but back then you often had to hand-roll solutions. If anyone can dig up an ancient library on GitHub for drag-and-drop back in those days, I'd imagine it would be several thousand lines long, not to mention the absolute nightmare that testing something like this with a proper framework and accompanying testing library. |
|