Child route `loader` is executed before parent route `loader` is completed
I have two routes, parent and child, both of them have
loader async function.
For some reason, the loader execution starts on the parent route, but when there's an async operation, it starts to execute the child loader function.
This is obviously not the behavior I expected to.
Is that intended? Is that an open bug? Or it happens only on my environment somehow?
Version 0.0.1-beta.893 Replies
constant-blue•3y ago
Loaders are intended to run in parallel
foreign-sapphireOP•3y ago
@Paweł Błaszczyk There is a way to block it somehow?
Cuz in my current hierarchy, the child route depends on the parent route.
constant-blue•3y ago
Tbh I don't think there is a option for this. If you'd describe an use case I could try to advice some solution