Skip to content

Conversation

brophdawg11
Copy link
Contributor

@brophdawg11 brophdawg11 commented Aug 20, 2025

RFC: #10231 / remix-run/remix#2749 (remix)

fetcher.unstable_reset(reason?: unknown) clears the data and resets to an idle state. It will also abort any in-flight requests for the fetcher with the reason, if provided.

Copy link

changeset-bot bot commented Aug 20, 2025

🦋 Changeset detected

Latest commit: 7ed11be

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
react-router Patch
@react-router/architect Patch
@react-router/cloudflare Patch
@react-router/dev Patch
react-router-dom Patch
@react-router/express Patch
@react-router/node Patch
@react-router/serve Patch
@react-router/fs-routes Patch
@react-router/remix-routes-option-adapter Patch
create-react-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@brophdawg11 brophdawg11 linked an issue Aug 20, 2025 that may be closed by this pull request
brophdawg11 and others added 2 commits August 21, 2025 11:46
Co-authored-by: Mark Dalgleish <mark.john.dalgleish@gmail.com>
@brophdawg11 brophdawg11 force-pushed the brophdawg11/fetcher-reset-v7 branch from 005f777 to 7ed11be Compare August 21, 2025 15:52
@MichaelDeBoey MichaelDeBoey changed the title Add fetcher.unstable_reset() API feat(react-router): add fetcher.unstable_reset() API Aug 21, 2025
@brophdawg11 brophdawg11 added the alpha-release Used by maintainers to trigger a Stage 2 (alpha) release on a PR label Aug 25, 2025
@brophdawg11 brophdawg11 changed the title feat(react-router): add fetcher.unstable_reset() API Add fetcher.unstable_reset() API Aug 25, 2025
Copy link
Contributor

Alpha release created: 0.0.0-experimental-7ed11be

⚠️ Note: This release was created from the HEAD of this branch so it may contain commits that have landed in dev but have not been released yet depending on when this branch was created. You can run the following command to see the commits that may not have been released yet:

git log --pretty=oneline react-router@7.8.2..16dd742

@github-actions github-actions bot removed the alpha-release Used by maintainers to trigger a Stage 2 (alpha) release on a PR label Aug 25, 2025
@brophdawg11 brophdawg11 merged commit f99fec6 into dev Sep 12, 2025
7 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/fetcher-reset-v7 branch September 12, 2025 20:28
Copy link
Contributor

🤖 Hello there,

We just published version 7.9.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 7.9.2 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add fetcher.reset() API

2 participants