route.tsx pendingComponent is rendering when index.tsx loader runs
I have the following file router structure:
My route.tsx component is just:
Which has the outlet within the SearchPage component.
My index.tsx has a loader:
The issue is I'm seeing
Loading From Route
when the index is fetching. Does anyone know what is going on and how I can seperate the loading. The route.tsx doesn't need the data and I want the structure to resolve and have the loading within my outlet.1 Reply
deep-jadeOP•12mo ago
I tried changing it to a _layout.tsx file as well and still the same issue