vercel / next-learn

Learn Next.js Starter Code
https://next-learn-dashboard.vercel.sh/
MIT License
3.8k stars 1.93k forks source link

Docs- Chapter 8: No explanation of how dashboard is dynamic #910

Open DevDynasty0 opened 2 weeks ago

DevDynasty0 commented 2 weeks ago

In Chapter 7, there is a concern highlighted:

"By default, Next.js prerenders routes to improve performance; this is called Static Rendering. So if your data changes, it won't be reflected in your dashboard."

However, in Chapter 8, it suddenly states:

"The dashboard application we're building is dynamic."

There is no explanation provided on why or how the dashboard is dynamic.

At the beginning of Chapter 8, the topics listed are supposed to cover "different approaches to make your dashboard dynamic." However, I couldn't find this explanation anywhere in the chapter.

Note: I last tried with "next": "15.0.0-canary.56", where the dashboard was not dynamic. I haven't checked the current behavior yet, but prior to the merge of pull request #764, it was dynamic since noStore() was used in the database query function. This was removed in that merge.

Could you please clear that? Thank you!