-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
SPA Mode should not use Single Fetch revalidation behavior #12740
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
Comments
This looks similar to the issue I was having, #12427. Would be great if it could get fixed 🙏 |
Same issue here. However, as I'm using react-query inside the clientLoader, no query is sent to the network thanks to its internal caching mecanism. |
This is fixed by #12948 and will be available in the next release |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
The Single Fetch revalidation behavior (de-optimization) is incorrectly being applied when in SPA mode and there is no "single fetch" to the server. SPA Mode should receive the default revalidation behavior optimizations where parent routes do not revalidate on GET navigations by default (unless path params or search params change)
I'm using React Router as a...
framework
Reproduction
ssr: false
) suing nested routes with loaders./parent/a -> /parent/b
)Expected Behavior
The parent loader should not re-run by default
Actual Behavior
The parent loader should re-runs by default
The text was updated successfully, but these errors were encountered: