yarn react-dnd-html5-backend 8.0.3
DndProvider Bugfixes

latest releases: 16.0.1, 16.0.0, 15.1.3...
4 years ago

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 the DndContext per global context. This means that to create a second backend for an iframe, one needs to use:
    <DndProvider backend={HTML5Backend} context={iframeWindow} />.

Don't miss a new react-dnd-html5-backend release

NewReleases is sending notifications on new releases.