-
For my use case I fetch a bunch of settings inside the loader of the Root route. Based on those settings I want to make decisions on what to fetch in child loaders. I have seen the docs about 'useMatches', but as far as I understand, I would not be able to use that inside a loader (it uses DataRouterContext). Is there a way to access that data fetched with the loader on root, inside a child loader? |
Beta Was this translation helpful? Give feedback.
Answered by
KaRkY
Jun 28, 2022
Replies: 1 comment 1 reply
-
No it's not since all loaders are called in parallel. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tkapitein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No it's not since all loaders are called in parallel.