Add support for manual fetcher key specification via useFetcher({ key: string }) so you can access the same fetcher instance from different components in your application without prop-drilling (RFC) (#10960)
Fetcher keys are now also exposed on the fetchers returned from useFetchers so that they can be looked up by key
Add navigate/fetcherKey params/props to useSumbit/Form to support kicking off a fetcher submission under the hood with an optionally user-specified key (#10960)
Invoking a fetcher in this way is ephemeral and stateless
If you need to access the state of one of these fetchers, you will need to leverage useFetcher({ key }) to look it up elsewhere
Patch Changes
Adds a fetcher context to RouterProvider that holds completed fetcher data, in preparation for the upcoming future flag that will change the fetcher persistence/cleanup behavior (#10961)
Fix the future prop on BrowserRouter, HashRouter and MemoryRouter so that it accepts a Partial<FutureConfig> instead of requiring all flags to be included. (#10962)
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.17.0 to 6.18.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.18.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>Add support for manual fetcher key specification via <code>useFetcher({ key: string })</code> so you can access the same fetcher instance from different components in your application without prop-drilling (<a href="https://github.com/remix-run/remix/discussions/7698">RFC</a>) (<a href="https://redirect.github.com/remix-run/react-router/pull/10960">#10960</a>)</p>
<ul>
<li>Fetcher keys are now also exposed on the fetchers returned from <code>useFetchers</code> so that they can be looked up by <code>key</code></li>
</ul>
</li>
<li>
<p>Add <code>navigate</code>/<code>fetcherKey</code> params/props to <code>useSumbit</code>/<code>Form</code> to support kicking off a fetcher submission under the hood with an optionally user-specified <code>key</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10960">#10960</a>)</p>
<ul>
<li>Invoking a fetcher in this way is ephemeral and stateless</li>
<li>If you need to access the state of one of these fetchers, you will need to leverage <code>useFetcher({ key })</code> to look it up elsewhere</li>
</ul>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Adds a fetcher context to <code>RouterProvider</code> that holds completed fetcher data, in preparation for the upcoming future flag that will change the fetcher persistence/cleanup behavior (<a href="https://redirect.github.com/remix-run/react-router/pull/10961">#10961</a>)</li>
<li>Fix the <code>future</code> prop on <code>BrowserRouter</code>, <code>HashRouter</code> and <code>MemoryRouter</code> so that it accepts a <code>Partial<FutureConfig></code> instead of requiring all flags to be included. (<a href="https://redirect.github.com/remix-run/react-router/pull/10962">#10962</a>)</li>
<li>Updated dependencies:
<ul>
<li><code>@remix-run/router@1.11.0</code></li>
<li><code>react-router@6.18.0</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remix-run/react-router/commit/667f9360759925adfc0e052b1c56e43447521f54"><code>667f936</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10981">#10981</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/67af262448f66e08d794e2418699f7c1a7392a52"><code>67af262</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10978">#10978</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/150028859ef8c3e116dc840c8bde043cc3060051"><code>1500288</code></a> Updates for v7_fetcherPersist post-processing logic (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10977">#10977</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/cacc90b83cb2aa0f4b60f6ec5454f237633d9478"><code>cacc90b</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10966">#10966</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/19af0cf7652f309a6a68c3c698f8eb36e733ce72"><code>19af0cf</code></a> Add future.v7_fetcherPersist flag (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10962">#10962</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/cb2d911d20b6d3268cde61e5828097ce5166f05c"><code>cb2d911</code></a> Add fetcher data layer (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10961">#10961</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/c0dbcd256df3d58cb07713e947ab8014886e76c7"><code>c0dbcd2</code></a> Add useFetcher(key) and <Form navigate={false}> (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10960">#10960</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/805924dd2fd9003a3e9cb5e3534778e61ede6bbf"><code>805924d</code></a> Revert "Ensure Form contains splat portion of pathname when no action is spec...</li>
<li><a href="https://github.com/remix-run/react-router/commit/908a40a25382612b869638664e19a4aa7a977e53"><code>908a40a</code></a> Ensure Form contains splat portion of pathname when no action is specified (#...</li>
<li><a href="https://github.com/remix-run/react-router/commit/a71b4e296776ef3b4fcada1f2a0b9fb52f03cfed"><code>a71b4e2</code></a> Merge branch 'release-next' into dev</li>
<li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.18.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.17.0 to 6.18.0.
Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
Commits
667f936chore: Update version for release (#10981)67af262chore: Update version for release (pre) (#10978)1500288Updates for v7_fetcherPersist post-processing logic (#10977)cacc90bchore: Update version for release (pre) (#10966)19af0cfAdd future.v7_fetcherPersist flag (#10962)cb2d911Add fetcher data layer (#10961)c0dbcd2Add useFetcher(key) and <Form navigate={false}> (#10960)805924dRevert "Ensure Form contains splat portion of pathname when no action is spec...908a40aEnsure Form contains splat portion of pathname when no action is specified (#...a71b4e2Merge branch 'release-next' into devDependabot 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
f0f4928View logs