Prefetching nested loading.tsx doesn't work
Unanswered
American Cocker Spaniel posted this in #help-forum
American Cocker SpanielOP
I have a route set up like
Here's the repo with code if that helps:
https://github.com/LoV432/ArchiveScape
https://github.com/LoV432/ArchiveScape/blob/master/app/users/(users)/loading.tsx
/users/(user)/loading.tsx. This loading.tsx isn't prefetched, but if I move the route to /users/loading.tsx, then loading.tsx is prefetched. I don't understand why this is happening. Is this expected behavior, or am I doing something dumb?Here's the repo with code if that helps:
https://github.com/LoV432/ArchiveScape
https://github.com/LoV432/ArchiveScape/blob/master/app/users/(users)/loading.tsx
1 Reply
American Cocker SpanielOP
Bump
Here's a sandbox to reproduce the issue:
https://codesandbox.io/p/devbox/loading-prefetch-8tc8hz
https://8tc8hz-3000.csb.app/
Here's a sandbox to reproduce the issue:
https://codesandbox.io/p/devbox/loading-prefetch-8tc8hz
https://8tc8hz-3000.csb.app/