3 ms·
I wouldn't use React to render a dragged UI component, I would animate it in the DOM myself then send an action back to the store when it was dropped that trigg
by davedx 12y ago
I wouldn't use React to render a dragged UI component, I would animate it in the DOM myself then send an action back to the store when it was dropped that triggered a re-render. Why would the application need to know where the UI component was before it was dropped?