Next.js Discord

Discord Forum

Hello Anyone knows why loading?jsx file overlap with subfolder loading. js? is there any way to fix

Unanswered
js7 posted this in #help-forum
Open in Discord
js7OP
whenever loading subfolder pages, main loading.JSX will see for a blink of an eye after that actual loading.jsx will load.

2 Replies

@js7 whenever loading subfolder pages, main loading.JSX will see for a blink of an eye after that actual loading.jsx will load.
Dunker
Hi, did you find a solution to this? I'm using Next 13.4.19, could this be a bug?
Here in this /issues directory, the loading.tsx file of /issues will appear for a split second before the loading.tsx of /issues/new appears. The loading file in /new should ovveride the loading file in the /issues folder, shouldn't this be the right behaviour?