Loader not triggered when routes changes #9898
Unanswered
WreewanMorhee
asked this question in
Q&A
Replies: 1 comment
-
I think this is because Remix is trying to optimize data loading on navigation. In your case, you have a parent and child route. Moving from You can use shouldRevalidate function to force data reload. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know how to describe it, whether it's good design or bad.
The situation I encounter is below, two routes: aa.bb.tsx aa.bb.cc.tsx
aa.bb.tsx
aa.bb.cc.tsx
from /aa/bb click Link to /aa/bb/cc console 22222 --> expected
But
from /aa/bb/cc click Link to /aa/bb no any console --> why ? I expected console 11111
First Question:
Beta Was this translation helpful? Give feedback.
All reactions