#how can I get data of one loader into another loader of a different route?
1 messages · Page 1 of 1 (latest)
you can't right now.
https://github.com/remix-run/remix/discussions/7642
You can track this proposal as it is planned
Loaders run in parallel so there's no way to access data from other loaders, since they haven't run yet
make a function and call it in both loaders
And if you do end up calling the function in two loaders, you might want to consider using cachified to cache the results