Page briefly uses APP-LEVEL loading.tsx incorrectly?
Unanswered
Polish posted this in #help-forum
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?
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
PolishOP
Bump for the weekday 🙂
PolishOP
Bump
PolishOP
Bump!
@Polish 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?
Masai Lion
Could you share the code?