How can I delete after drag and drop?

Hello there,

This is likely a very similar issue to what I have just been having:
React State Management with Element Re-organisation - JavaScript - The freeCodeCamp Forum

The just of these types of problems is:

  • Keeping track of each item with a unique identifier
  • Ensuring the event listeners all remain as the element is passed around.

Hope this helps some.