Release notes
*Sourced from [react-dnd-html5-backend's releases](https://github.com/react-dnd/react-dnd/releases).*
> ## DndProvider Bugfixes
> ### 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 ``, 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:
> ``.
Commits
- [`c5cc337`](https://github.com/react-dnd/react-dnd/commit/c5cc337fc248e713a0c653a4918e74ebc29a6d70) fix: correct dynamic tsconfig files
- [`5e3c52c`](https://github.com/react-dnd/react-dnd/commit/5e3c52cec5910080ecd880b13c743c1dbb8aac7e) build: move CJS package creation scripts to top-level scripts/ folder
- [`0db6845`](https://github.com/react-dnd/react-dnd/commit/0db6845ec8a2328c0b4af3240662a13a8818f707) v8.0.3
- [`5628208`](https://github.com/react-dnd/react-dnd/commit/562820816c5d6be1c94b27d77f29dfb91bdc2b79) fix: update DndProvider to use a singleton instance of the DndContext per Bac...
- [`c7253d7`](https://github.com/react-dnd/react-dnd/commit/c7253d7bc447b9068c656cd7cb740458209e7337) Use a Singleton DndContext instance when rerendering DndProvider ([#1422](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1422))
- See full diff in [compare view](https://github.com/react-dnd/react-dnd/compare/v8.0.2...v8.0.3)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps react-dnd-html5-backend from 8.0.2 to 8.0.3.
Release notes
*Sourced from [react-dnd-html5-backend's releases](https://github.com/react-dnd/react-dnd/releases).* > ## DndProvider Bugfixes > ### 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 `Commits
- [`c5cc337`](https://github.com/react-dnd/react-dnd/commit/c5cc337fc248e713a0c653a4918e74ebc29a6d70) fix: correct dynamic tsconfig files - [`5e3c52c`](https://github.com/react-dnd/react-dnd/commit/5e3c52cec5910080ecd880b13c743c1dbb8aac7e) build: move CJS package creation scripts to top-level scripts/ folder - [`0db6845`](https://github.com/react-dnd/react-dnd/commit/0db6845ec8a2328c0b4af3240662a13a8818f707) v8.0.3 - [`5628208`](https://github.com/react-dnd/react-dnd/commit/562820816c5d6be1c94b27d77f29dfb91bdc2b79) fix: update DndProvider to use a singleton instance of the DndContext per Bac... - [`c7253d7`](https://github.com/react-dnd/react-dnd/commit/c7253d7bc447b9068c656cd7cb740458209e7337) Use a Singleton DndContext instance when rerendering DndProvider ([#1422](https://github-redirect.dependabot.com/react-dnd/react-dnd/issues/1422)) - See full diff in [compare view](https://github.com/react-dnd/react-dnd/compare/v8.0.2...v8.0.3)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.