Next.js Discord

Discord Forum

Loading state not showing

Answered
Grass Carrying Wasp posted this in #help-forum
Open in Discord
Grass Carrying WaspOP
Hello guys, I'm just a beginner in using next js.

Can someone tell what what did I do wrong here? I wanted to show a loading skeleton for my table every time the data is fetched due to page change.

But what is happening is the suspense fallback only shows in the initial load of the page and any page change wouldn't show the loading skeleton and would just freeze and snap the new data when loaded. Maybe I missed something in the tutorial.

TIA!

3 Replies

Grass Carrying WaspOP
bump
Answer
Grass Carrying WaspOP
Thank you very much @@ts-ignore hehehe, it was just I wanst passing the correct key ehehe