Re:Ask HN: Current best practice for drag-and-drop?
by cientifico on Tuesday August 19, 2014 @03:12PM
(#8199192)
Same problem, also working with react. Setting react to work with this libraries result in more effort than writing it manually.
[ Parent
| on HN ]
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