Intercepted routes performance issue/loading.js not working #66838
Unanswered
nickythorne
asked this question in
App Router
Replies: 1 comment
-
I'm having a similar issue with a similar setup. Do loading components work with intercepted routes? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an intercepted parallel route, which uses a RSC page. In production and development, event with prefetching enabled the RSC network call takes 2-3seconds to complete before the route loads.
After adding a
loading.tsx
at the same level as the parallel route, it seems like this does not help.My structure is as follows:
I have a link which navigates to the intercepted route:
But in develoment and production builds, when clicking this link there is a RSC call for the route that takes 2-3seconds before the modal appears. I would expect the loading.tsx file to show instantly given the page is suspending, but this is not the case.
Beta Was this translation helpful? Give feedback.
All reactions