Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize future.unstable_skipActionErrorRevalidation #11769

Merged

Conversation

brophdawg11
Copy link
Contributor

@brophdawg11 brophdawg11 commented Jul 3, 2024

Stabilize the RR unstable_skipActionErrorRevalidation flag. This is used by single fetch but it's functionality is independent of single fetch and fairly straightforward so I don't see any reason to delay stabilizing it until single fetch stabilizes.

Functionally, when this is enabled, actions that return/throw with a 4xx/5xx don't automatically trigger revalidation - see https://remix.run/docs/en/main/guides/single-fetch#revalidations

Copy link

changeset-bot bot commented Jul 3, 2024

🦋 Changeset detected

Latest commit: 2ccdde4

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

This PR includes changesets to release 5 packages
Name Type
@remix-run/router Minor
react-router Patch
react-router-dom Patch
react-router-dom-v5-compat Patch
react-router-native 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

@@ -199,3 +199,70 @@ createBrowserRouter(routes, {
},
});
```

## v7_skipActionStatusRevalidation
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to copy this section to the docs/upgrading/v6.md file in the v7 branch

@brophdawg11 brophdawg11 merged commit 7b22365 into dev Jul 10, 2024
3 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/stabilize-skip-action-error-revalidation branch July 10, 2024 20:50
Copy link
Contributor

🤖 Hello there,

We just published version 6.25.0-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 6.25.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!

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.

1 participant