Replies: 2 comments 11 replies
-
This should already be happening. Can you provide a reproduction in code sandbox or blitz?
…On Jul 26, 2023 at 8:38 AM -0600, Hosmel Quintana ***@***.***>, wrote:
Hi, I was wondering if there is a method to halt the rendering of a child route in case of an error in the parent route's loader.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
They do need to run in parallel by default, so it sounds like you want a way to have your child loader wait for the parent in a serial pattern. Correct?
…On Jul 26, 2023 at 9:58 AM -0600, Paweł Błaszczyk ***@***.***>, wrote:
Afaik, they both start running at the same time after router internals match them. They should be independent of each other
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there a method to halt the rendering of a child route in case of an error in the parent route's loader?
For example. I am using react-query to ensure data is valid, I have a default error component that renders if the status code is 404. That part works, but the child route re-renders.
Beta Was this translation helpful? Give feedback.
All reactions