Bugfixes
- The DndProvider component had been throwing errors if it was rendered multiple times because of the implicit singleton invariant of the HTML5Backend. To correct this, if a backend factory is passed to the DndProvider using
<DndProvider backend={HTML5Backend}/>
, it will only create a singleton instance of theDndContext
per global context. This means that to create a second backend for an iframe, one needs to use:
<DndProvider backend={HTML5Backend} context={iframeWindow} />
.