ktmud commented on pull request #13340:
URL: https://github.com/apache/superset/pull/13340#issuecomment-786841583


   There're definitely certain things you can abstract away for all these. The 
basic interactions are the same, it's just what happens after you drop is 
different. It should be possible to let each different drop item and target 
extend from the same base class or React hook.
   
   At the very least, DnD item types should be managed in a global registry 
(eg. as an Enum).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to