Help on chapter 9 of the App Router course (loading.tsx) #80199
Unanswered
AlexisR81
asked this question in
App Router
Replies: 1 comment 3 replies
-
Hi, Any chance you should show a screen recording of what's happening? Maybe restart the server and try again. |
Beta Was this translation helpful? Give feedback.
3 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'm starting to learn Next.JS for an entreprise project, so I'm doing the App Route course, and everything was going well until I got to chapter 9. In this chapter you have to make a loading page, I made a wait as in the course, so my dashboard page takes 3 seconds to load, but my loading page only displays for 0.5 sec and not 3 sec. Why isn't my loading page displayed for the whole loading time (3seconds)?
There is my page.tsx file :
There is my loading.tsx file :
And there is my fetchRevenue() function :
Beta Was this translation helpful? Give feedback.
All reactions