News for hackers. Stuff that matters.
Re:Ask HN: Current best practice for drag-and-drop? by couchand on Tuesday August 19, 2014 @03:44PM (#8199368)
No kidding. If you're planning on using jQuery UI, do it in `componentDidMount` and add this to your Draggable options:

           helper: ->                                                   
             el = jQuery this                                           
               .clone()                                                 
               .removeAttr "id"                                         
                                                                        
             el.find "*"                                                
               .andSelf()                                               
               .removeAttr "data-reactid"                               
                                                                        
             el

There are no comments on this comment yet.