Loader in parent route runs again if only a new child route is rendered
I would think that my loader only runs once in the parent route if a new child route is rendered, for example: loader in
dashboard.tsx only runs once if user navigates from dashboard.users.tsx to dashboard.roles.tsx ? But it doesn't. How can i possibly achieve this with file based routing?2 Replies
unwilling-turquoiseOP•2y ago
fixed it with staleTime 👍
fascinating-indigo•2y ago
Weird how similar the thinking patterns are to query huh 😉