You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
"React-Dnd has been restructured as a monorepo. This code has been merged into the the react-dnd main repository."
I refer to the React-dnd docs, where they still insist on importing the react-dnd-html5-backend package, even though this readme states it is deprecated. So what do we do?
Currently I am doing this:
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
...
export default compose(
DragDropContext(HTML5Backend),
connect(mapStateToProps,mapDispatchToProps)
)(MyComponent);