Next.js Discord

Discord Forum

Page briefly uses APP-LEVEL loading.tsx incorrectly?

Unanswered
Polish posted this in #help-forum
Open in Discord
PolishOP
I have a app/item/page.tsx and an app/item/loading.tsx with custom loading UI.

When I visit an item page, it briefly shows the loading UI from app/loading.tsx (NOT the one inside app/item/) and then switches to the app/item/loading.tsx after about a second. This looks very broken.

How can I fix?

4 Replies