Pass loader data through layout routes #1013
-
Hi, is it possible to pass loader data through layout routes ?
Here, let's say I fetch data in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It’s not possible, all loader run in parallel so it would not be posible to share data between each loader, also when doing client side navigate a child loader may be called without calling the parent loaders, and if they run at the same time they could even run in different servers (like when using Serverless or CF Workers) |
Beta Was this translation helpful? Give feedback.
It’s not possible, all loader run in parallel so it would not be posible to share data between each loader, also when doing client side navigate a child loader may be called without calling the parent loaders, and if they run at the same time they could even run in different servers (like when using Serverless or CF Workers)