"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."
"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.
In Chapter 7, there is a concern highlighted:
However, in Chapter 8, it suddenly states:
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!