Next.js Discord

Discord Forum

unstable_noStore vs "force-dynamic"

Unanswered
Schneider’s Smooth-fronted Caima… posted this in #help-forum
Open in Discord
Schneider’s Smooth-fronted CaimanOP
https://nextjs.org/learn/dashboard-app/static-and-dynamic-rendering#making-the-dashboard-dynamic
Any reason this tutorial page uses unstable_noStore for dynamic content instead of the Segment Config Option export const dynamic = "force-dynamic"?
They state that unstable_noStore is experimental API and Segment Config Option is Stable API, so I'm just wondering what the benefits are of using one over the other for dynamic content?

Would noStore(); need to be added to the body of each function for Stable API Segment Config Option export const dynamic = "force-dynamic"?
If noStore(); is not required for Stable API, that seems easier, so I'm curious why this is not implemented in this tutorial page using Stable API?

1 Reply

Schneider’s Smooth-fronted CaimanOP