Future flag v3_singleFetch
makes clientLoader
revalidate even though shouldRevalidate
returns false
#10234
Labels
v3_singleFetch
makes clientLoader
revalidate even though shouldRevalidate
returns false
#10234
Reproduction
I have an app using the
ssr: false
option and with the following future flags:The app has the nested routes
a/b/c
.All of them have
clientLoader
s and the routea
contains afetcher
'sForm
which will submit toa
'sclientAction
.Both routes
b
andc
export ashouldRevalidate
function returningfalse
to any action submitted to route other than themselves:System Info
Used Package Manager
npm
Expected Behavior
If the
v3_singleFetch
flag isfalse
, the app does not execute theb
andc
clientLoaders
when I submit thea
'sForm
and this is what I was expecting when the flag wastrue
Actual Behavior
If the
v3_singleFetch
flag istrue
, theclientLoaders
ofb
andc
routes are executed, independently of theshouldRevalidate
's return.The text was updated successfully, but these errors were encountered: