Initial load loads the page only after 3 second delay, without giving me the placeholder loading state (image below). So when I refresh the page I'm not getting the skeleton/loading screen. it just lags until the whole page loads.
After adding objects it's not render them separately instead all components wait RevenueChart to render and then they're displayed.
How to reproduce: See the video for comprehensive overview of my code and the unexpected behavior:
After carefully following the steps of the tutorial I'm facing 2 issues regarding the "Loading" states: (only thing I'm doing different in this course is using bun instead of npx) The code files at this exact failure incase you want to see the code: https://github.com/maxmax1992/dashboard_nextjs_demo/tree/8462322da99822e3e458480c6c95a3a5f4123070
Initial load loads the page only after 3 second delay, without giving me the placeholder loading state (image below). So when I refresh the page I'm not getting the skeleton/loading screen. it just lags until the whole page loads.
After adding objects it's not render them separately instead all components wait RevenueChart to render and then they're displayed.
How to reproduce: See the video for comprehensive overview of my code and the unexpected behavior:
https://github.com/user-attachments/assets/7d791ceb-9711-42c3-b70f-4f5b1d4c604f
This reddit post might be related: https://www.reddit.com/r/nextjs/comments/1cq97wn/just_start_learning_nextjs_but_suspense_does_not/