Add unstable_flushSync option to useNavigate/useSumbit/fetcher.load/fetcher.submit to opt-out of React.startTransition and into ReactDOM.flushSync for state updates (#11005)
Allow unstable_usePrompt to accept a BlockerFunction in addition to a boolean (#10991)
Patch Changes
Fix issue where a changing fetcher key in a useFetcher that remains mounted wasn't getting picked up (#11009)
Fix useFormAction which was incorrectly inheriting the ?index query param from child route action submissions (#11025)
Fix NavLinkactive logic when to location has a trailing slash (#10734)
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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.18.0 to 6.19.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
<blockquote>
<h2>react-router-dom-v5-compat@6.4.0-pre.15</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.15</li>
<li>react-router-dom@6.4.0-pre.15</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.11</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.11</li>
<li>react-router-dom@6.4.0-pre.11</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.10</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.10</li>
<li>react-router-dom@6.4.0-pre.10</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.9</li>
<li>react-router-dom@6.4.0-pre.9</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>react-router@6.4.0-pre.8</li>
<li>react-router-dom@6.4.0-pre.8</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li><code>react-router@6.4.0-pre.7</code></li>
<li><code>react-router-dom@6.4.0-pre.7</code></li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
<ul>
<li>react-router@6.4.0-pre.6</li>
<li>react-router-dom@6.4.0-pre.6</li>
</ul>
</li>
</ul>
<h2>react-router-dom-v5-compat@6.4.0-pre.5</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p>
<blockquote>
<h2>6.19.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>Add <code>unstable_flushSync</code> option to <code>useNavigate</code>/<code>useSumbit</code>/<code>fetcher.load</code>/<code>fetcher.submit</code> to opt-out of <code>React.startTransition</code> and into <code>ReactDOM.flushSync</code> for state updates (<a href="https://redirect.github.com/remix-run/react-router/pull/11005">#11005</a>)</li>
<li>Allow <code>unstable_usePrompt</code> to accept a <code>BlockerFunction</code> in addition to a <code>boolean</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10991">#10991</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Fix issue where a changing fetcher <code>key</code> in a <code>useFetcher</code> that remains mounted wasn't getting picked up (<a href="https://redirect.github.com/remix-run/react-router/pull/11009">#11009</a>)</li>
<li>Fix <code>useFormAction</code> which was incorrectly inheriting the <code>?index</code> query param from child route <code>action</code> submissions (<a href="https://redirect.github.com/remix-run/react-router/pull/11025">#11025</a>)</li>
<li>Fix <code>NavLink</code> <code>active</code> logic when <code>to</code> location has a trailing slash (<a href="https://redirect.github.com/remix-run/react-router/pull/10734">#10734</a>)</li>
<li>Updated dependencies:
<ul>
<li><code>react-router@6.19.0</code></li>
<li><code>@remix-run/router@1.12.0</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remix-run/react-router/commit/dcf0c2a85aac3a78059a287ea478ff12adcb6a2d"><code>dcf0c2a</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11035">#11035</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/7b1bd10a1f0d21dd303ae7346bd555616ca2a2fa"><code>7b1bd10</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11026">#11026</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/d5b9128914e2b85727af62a8a96bfea070e290f2"><code>d5b9128</code></a> fix lint issues</li>
<li><a href="https://github.com/remix-run/react-router/commit/5563672ec7f79892a576a83a495b4d64bd7ab98e"><code>5563672</code></a> Fix useFormAction inheriting ?index param from child route action submission ...</li>
<li><a href="https://github.com/remix-run/react-router/commit/39854ce7a82d24b60ff2ccbd84d46fa14dbf5b62"><code>39854ce</code></a> Fix useAcrtionData so it only returns the contextual route action data (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11023">#11023</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/811e9aad69056f77b6457c0cf7e9349477d8054f"><code>811e9aa</code></a> Fix bug with changing fetcher key in a mounted component (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11009">#11009</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/1193ae5e28124cc163bb3c4f5478cf057bb2f087"><code>1193ae5</code></a> Add unstable_flushSync option (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/11005">#11005</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/fe066bd4641a17142e73569b116c0236d8c9e1d7"><code>fe066bd</code></a> Fix issues with useFormAction/useResolvedPath for dot paths in param/splat ro...</li>
<li><a href="https://github.com/remix-run/react-router/commit/4f6c4546652c685339ee70796217b0ebeabcfda4"><code>4f6c454</code></a> Stabilize and document useBlocker (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10991">#10991</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/e6ac5f0e04007127a6b8b10b9f1120090d953e3f"><code>e6ac5f0</code></a> Fixed NavLink Issue (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10734">#10734</a>)</li>
<li>See full diff in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.19.0/packages/react-router-dom">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps react-router-dom from 6.18.0 to 6.19.0.
Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
Commits
dcf0c2achore: Update version for release (#11035)7b1bd10chore: Update version for release (pre) (#11026)d5b9128fix lint issues5563672Fix useFormAction inheriting ?index param from child route action submission ...39854ceFix useAcrtionData so it only returns the contextual route action data (#11023)811e9aaFix bug with changing fetcher key in a mounted component (#11009)1193ae5Add unstable_flushSync option (#11005)fe066bdFix issues with useFormAction/useResolvedPath for dot paths in param/splat ro...4f6c454Stabilize and document useBlocker (#10991)e6ac5f0Fixed NavLink Issue (#10734)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Deploying with
Cloudflare Pages
25a973dView logs